Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
111
Issues
111
List
Boards
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
a79c7d34
Commit
a79c7d34
authored
Aug 20, 2002
by
Leigh Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of that ANNOYING extra 1 second delay that all scripts were
exhibiting. Sheesh!
parent
82e6bb75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
db/libdb.pm.in
db/libdb.pm.in
+4
-2
No files found.
db/libdb.pm.in
View file @
a79c7d34
...
...
@@ -152,9 +152,11 @@ sub TBDBConnect()
}
my $dbuser = "$scriptname:$name";
while ($maxtries && !defined($DB)) {
while ($maxtries) {
$DB = Mysql->connect("localhost", $DBNAME, $dbuser, "none");
if (defined($DB)) {
last;
}
$maxtries--;
sleep(1);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment