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.
This commit is contained in:
Marcin Kuzminski 2017-12-04 12:55:05 +01:00
parent 6cc32fc47b
commit bd4447f703

View file

@ -133,7 +133,7 @@ class HttpHooksCallbackDaemon(ThreadedHookCallbackDaemon):
# 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")