Skip to content

Commit

Permalink
fix queue bug
Browse files Browse the repository at this point in the history
Signed-off-by: wzh <[email protected]>
  • Loading branch information
zhihuiwan committed May 20, 2020
1 parent b00fc16 commit 333df38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fate_flow/manager/queue_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def update_event(self, job_id='', item=None, status=None, operating=None):
event = events[0]
event.f_is_waiting = status
if operating == 'put':
if event.f_frequency <= RE_ENTRY_QUEUE_MAX and status==3:
if event.f_frequency <= RE_ENTRY_QUEUE_MAX:
event.f_frequency += 1
else:
event.f_is_waiting = 4
Expand Down

0 comments on commit 333df38

Please sign in to comment.