|
@@ -15,7 +15,7 @@ class TaskPool(BasePool):
|
|
|
|
|
|
def _get_info(self):
|
|
def _get_info(self):
|
|
return {"max-concurrency": 1,
|
|
return {"max-concurrency": 1,
|
|
- "processes": [self.pid],
|
|
|
|
|
|
+ "processes": [os.getpid()],
|
|
"max-tasks-per-child": None,
|
|
"max-tasks-per-child": None,
|
|
"put-guarded-by-semaphore": True,
|
|
"put-guarded-by-semaphore": True,
|
|
"timeouts": ()}
|
|
"timeouts": ()}
|