save remaining syncmetadata tasks on shutdown
This commit is contained in:
parent
ec81b80d2e
commit
be1c4085f2
2 changed files with 9 additions and 0 deletions
|
|
@ -111,3 +111,5 @@ class Tasks(Thread):
|
|||
if not state.shutdown:
|
||||
#logger.debug('queue: %s (%s)', action, data)
|
||||
self.q.put((priority, (action, data)))
|
||||
else:
|
||||
self._tasks.append((priority, (action, data)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue