Skip to content
Snippets Groups Projects
Commit 9d40b597 authored by Moe Jette's avatar Moe Jette
Browse files

Tweak logic for short InactiveLimit

parent 99bcdf6b
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ if {$kill_wait > 60} {
exit 0
}
if {$inactive_limit < $sleep_time} {
set sleep_time $inactive_limit
set sleep_time [expr $inactive_limit + $kill_wait]
send_user "\nReset job sleep time to $sleep_time seconds\n"
}
......
......@@ -78,7 +78,7 @@ if {$kill_wait > 60} {
exit 0
}
if {$inactive_limit < $sleep_time} {
set sleep_time $inactive_limit
set sleep_time [expr $inactive_limit + $kill_wait]
send_user "\nReset job sleep time to $sleep_time seconds\n"
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment