Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
f7387fd6
Commit
f7387fd6
authored
Jul 15, 2010
by
Leigh B Stoller
Browse files
Minor bug fix; do not burn CPU when nologins is set.
parent
b73bc375
Changes
3
Hide whitespace changes
Inline
Side-by-side
protogeni/scripts/ch_daemon.in
View file @
f7387fd6
...
...
@@ -178,8 +178,10 @@ sub ProbeCMs()
}
while
(
1
)
{
next
if
(
NoLogins
());
if
(
NoLogins
())
{
sleep
(
5
);
next
;
}
print
"
Running at
"
.
POSIX::
strftime
("
20%y-%m-%d %H:%M:%S
",
localtime
())
.
"
\n
";
...
...
protogeni/scripts/expire_daemon.in
View file @
f7387fd6
...
...
@@ -350,8 +350,10 @@ sub ReportLockedSlices()
}
while
(
1
)
{
next
if
(
NoLogins
());
if
(
NoLogins
())
{
sleep
(
5
);
next
;
}
print
"
Running at
"
.
POSIX::
strftime
("
20%y-%m-%d %H:%M:%S
",
localtime
())
.
"
\n
";
...
...
protogeni/scripts/sa_daemon.in
View file @
f7387fd6
...
...
@@ -387,8 +387,10 @@ sub RenewSlices()
}
while
(
1
)
{
next
if
(
NoLogins
());
if
(
NoLogins
())
{
sleep
(
5
);
next
;
}
print
"
Running at
"
.
POSIX::
strftime
("
20%y-%m-%d %H:%M:%S
",
localtime
())
.
"
\n
";
...
...
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