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:
parent
6cc32fc47b
commit
bd4447f703
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue