mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Check flag files more often
This commit is contained in:
@@ -744,7 +744,7 @@ while(1) {
|
||||
vec($rmask, fileno(LISTEN), 1) = 1 if ($config{'listen'});
|
||||
|
||||
# Wait for a connection
|
||||
local $sel = select($rmask, undef, undef, 10);
|
||||
local $sel = select($rmask, undef, undef, 2);
|
||||
|
||||
# Check the flag files
|
||||
if ($config{'restartflag'} && -r $config{'restartflag'}) {
|
||||
@@ -785,7 +785,6 @@ while(1) {
|
||||
} while($pid != 0 && $pid != -1);
|
||||
@childpids = grep { !kill(0, $_) } @childpids;
|
||||
|
||||
|
||||
# run the unblocking procedure to check if enough time has passed to
|
||||
# unblock hosts that heve been blocked because of password failures
|
||||
$unblocked = 0;
|
||||
|
||||
Reference in New Issue
Block a user