Further cleanup from locking changes

This commit is contained in:
James Cammarata 2015-09-03 01:07:29 -04:00
commit 9e1bc434c7
2 changed files with 4 additions and 7 deletions

View file

@ -87,6 +87,8 @@ class TaskQueueManager:
except ValueError:
fileno = None
# A temporary file (opened pre-fork) used by connection
# plugins for inter-process locking.
self._connection_lockfile = tempfile.TemporaryFile()
self._workers = []