Browse Source

忘记sleep了

skyfffire 3 months ago
parent
commit
884e2902be
1 changed files with 1 additions and 0 deletions
  1. 1 0
      as.py

+ 1 - 0
as.py

@@ -580,6 +580,7 @@ def balance_available_funds_periodically():
                 else:
                     msg = f"[withdrawal]交易所提现已发送, 进入 {WITHDRAWAL_COOLDOWN} 秒冷却期。\n參數: {withdrawal_params_formated}\n響應: {withdrawal_rst_formated}"
                     logger.info(msg)
+                    time.sleep(WITHDRAWAL_COOLDOWN)
             else:
                 # TODO 這是另一個方向,需要從鏈上往交易所劃轉
                 pass