Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix emergency kill
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Sep 13, 2016
1 parent d3eb6a1 commit a0da4f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/core/src/pydio/Core/Controller/ShutdownScheduler.php
Expand Up @@ -122,8 +122,8 @@ public function callRegisteredShutdown()
Logger::error(__CLASS__, __FUNCTION__, array("context" => "Applying hook " . get_class($callback[0]) . "::" . $callback[1], "message" => $e->getMessage()));
}
$index++;
if($index > 200) {
Logger::error(__CLASS__, __FUNCTION__, "Breaking ShutdownScheduler loop, seems too big (200)");
if($index > 100000) {
Logger::error(__CLASS__, __FUNCTION__, "Breaking ShutdownScheduler loop, seems too big (100000)");
break;
}
}
Expand Down

0 comments on commit a0da4f4

Please sign in to comment.