# HG changeset patch # User Marcin Kuzminski # Date 2017-12-04 11:55:05 # Node ID 91d3d681698f661304007c68456698125493f8ff # Parent 46757b445bfe2e0aa4a40ac3609866ef3612d815 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")