diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-10 16:17:05 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-10 16:17:05 +0100 |
| commit | 46e4cf13a87515d51141a5095b09213715b684a8 (patch) | |
| tree | 340a978d17a5f68691c13467e20a6849dd044aa5 | |
| parent | 34861a5b7284de2b616e0f376dc7fbbbdbb7ea3b (diff) | |
| download | joblib-46e4cf13a87515d51141a5095b09213715b684a8.tar.gz joblib-46e4cf13a87515d51141a5095b09213715b684a8.zip | |
sleep longer on idle
| -rw-r--r-- | worker.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,7 +43,7 @@ class Worker(object): length=batchlimit) if len(jobs) == 0: - await asyncio.sleep(0.1) + await asyncio.sleep(1) # nothing to do continue |
