# HG changeset patch # User Marcin Kuzminski # Date 2017-12-04 11:55:05 # Node ID c5a31551e0da20d2c4eec3952e145f3cb3299467 # Parent f78c4999c67b2200c20bdfacab87411594302967 hooks: decrease pool interval to 10ms. For SVN operations and lots of requests we can save tons of time this way. It's a good balance value. diff --git a/rhodecode/lib/hooks_daemon.py b/rhodecode/lib/hooks_daemon.py --- a/rhodecode/lib/hooks_daemon.py +++ b/rhodecode/lib/hooks_daemon.py @@ -133,7 +133,7 @@ class HttpHooksCallbackDaemon(ThreadedHo # From Python docs: Polling reduces our responsiveness to a shutdown # request and wastes cpu at all other times. - POLL_INTERVAL = 0.1 + POLL_INTERVAL = 0.01 def _prepare(self): log.debug("Preparing HTTP callback daemon and registering hook object")