Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
tune test
Browse files Browse the repository at this point in the history
  • Loading branch information
gotcha committed Mar 5, 2013
1 parent 4ad8e1a commit 8297c09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/five/taskqueue/tests/processor.txt
Expand Up @@ -313,11 +313,11 @@ module global:

>>> import z3c.taskqueue
>>> z3c.taskqueue.processor.THREAD_STARTUP_WAIT
0.050000000000000003
0.05...

On my machine this number seems to work well. On slower machines you might
want to raise that number.

Let's give Python enough time to stop all the threads.

>>> time.sleep(0.05)
>>> time.sleep(z3c.taskqueue.processor.THREAD_STARTUP_WAIT)

0 comments on commit 8297c09

Please sign in to comment.