Fix build code:
- Fix issue with the queue_item in extend processing - Add the new compiled docker binary with the lxc volume fix
This commit is contained in:
parent
c8277b07d9
commit
dbac8c7e3d
3 changed files with 4 additions and 2 deletions
|
@ -128,8 +128,9 @@ class WorkQueue(object):
|
|||
self._currently_processing = False
|
||||
|
||||
@staticmethod
|
||||
def extend_processing(queue_item, seconds_from_now, retry_count=None,
|
||||
def extend_processing(queue_item_info, seconds_from_now, retry_count=None,
|
||||
minimum_extension=MINIMUM_EXTENSION):
|
||||
queue_item = QueueItem.get(QueueItem.id == queue_item_info.id)
|
||||
new_expiration = datetime.utcnow() + timedelta(seconds=seconds_from_now)
|
||||
|
||||
# Only actually write the new expiration to the db if it moves the expiration some minimum
|
||||
|
|
Reference in a new issue