瀏覽代碼

fix naming function

processing_interval_unlimited -> interval_attempts_unlimited
blezz-tech 1 月之前
父節點
當前提交
8905ba96bd
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      handlers/handlers/open_access_request_pending.py

+ 2 - 2
handlers/handlers/open_access_request_pending.py

@@ -65,7 +65,7 @@ def start_handler():
             for ticket in tickets:
                 ticket.interval_attempts -= 1
                 if ticket.interval_attempts <= 0:
-                    processing_interval_unlimited(ticket)
+                    interval_attempts_unlimited(ticket)
                 else:
                     processing(ticket)
             tickets = filter_interval_tickets(tickets)
@@ -77,7 +77,7 @@ def start_handler():
 
 # START CUSTOM FUNCTIONS
 
-def processing_interval_unlimited(ticket):
+def interval_attempts_unlimited(ticket):
     logging.debug(f"Лимит попыток обработки тикета {ticket.id} исчерпан")
     
     # db.changestatus