Permalink
Browse files

Fix emergency kill

  • Loading branch information...
1 parent d3eb6a1 commit a0da4f42cc37559e928c03333a9c599dca541e52 @cdujeu cdujeu committed Sep 13, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 core/src/core/src/pydio/Core/Controller/ShutdownScheduler.php
@@ -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;
}
}

0 comments on commit a0da4f4

Please sign in to comment.