sad
This commit is contained in:
@@ -23,10 +23,10 @@ class OrderManager:
|
||||
"""
|
||||
now = time.time()
|
||||
|
||||
if len(self._send_timestamps) == 500:
|
||||
elapsed = now - self._send_timestamps[0]
|
||||
if elapsed < 1.01:
|
||||
return False
|
||||
# if len(self._send_timestamps) == 500:
|
||||
# elapsed = now - self._send_timestamps[0]
|
||||
# if elapsed < 1.01:
|
||||
# return False
|
||||
|
||||
# 전송 조건 통과 시 실제 통신 수행
|
||||
if action_type == "add":
|
||||
|
||||
Reference in New Issue
Block a user