This commit is contained in:
2026-08-30 15:29:21 +08:00
parent 6334f10904
commit a946c5b53d
8 changed files with 38 additions and 109 deletions

View File

@@ -115,6 +115,6 @@ class OrderBook:
)
with self.mutex:
key = f"{side}-{request.code}"
self.data[key] = pending
self.data.append(pending)
self.lock[key] = pending.created_at.timestamp()
return True