Kaynağa Gözat

Fix comparison bug in ApplicationQueueManager (#1919)

tags/0.4.3
waltcow 1 yıl önce
ebeveyn
işleme
a82b4d315a
No account linked to committer's email address
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      api/core/application_queue_manager.py

+ 1
- 1
api/core/application_queue_manager.py Dosyayı Görüntüle

return return


user_prefix = 'account' if invoke_from in [InvokeFrom.EXPLORE, InvokeFrom.DEBUGGER] else 'end-user' user_prefix = 'account' if invoke_from in [InvokeFrom.EXPLORE, InvokeFrom.DEBUGGER] else 'end-user'
if result != f"{user_prefix}-{user_id}":
if result.decode('utf-8') != f"{user_prefix}-{user_id}":
return return


stopped_cache_key = cls._generate_stopped_cache_key(task_id) stopped_cache_key = cls._generate_stopped_cache_key(task_id)

Loading…
İptal
Kaydet