use stats from arg
This commit is contained in:
parent
8439f3a56e
commit
c5e8c1bb31
1 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ class Queue(object):
|
|||
return (conn, c)
|
||||
|
||||
|
||||
def push(self, data, plugin, misc=None):
|
||||
def push(self, data, stats, plugin, misc=None):
|
||||
if not HAS_SQL:
|
||||
return
|
||||
try:
|
||||
|
@ -56,7 +56,7 @@ class Queue(object):
|
|||
'project': data.get('project'),
|
||||
'branch': data.get('branch'),
|
||||
'is_write': 1 if data.get('is_write') else 0,
|
||||
'stats': data.get('stats'),
|
||||
'stats': stats,
|
||||
'misc': misc,
|
||||
'plugin': plugin,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue