Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] AO reload denied due self-inflicted MAX ORDER COUNT #728

Closed
pointops opened this issue Sep 4, 2022 · 2 comments
Closed

[bug] AO reload denied due self-inflicted MAX ORDER COUNT #728

pointops opened this issue Sep 4, 2022 · 2 comments

Comments

@pointops
Copy link

pointops commented Sep 4, 2022

30.30.3 stable long running glitch

CASE:
BFX Honey is restarted / reloads for any reason (most common is connectivity drop) and the recently running AOs are offered for quick recovery.

The orphaned atomics need to be cleared out first before being re-introduced by their parent AO.

PROBLEM:
sometimes the cancellation of old atomics is not fast enough and an AO being reloaded fails to activate due to MAX AO COUNT conflict (100 pcs per trading pair).

SUGGESTION:
Introduce (or increase) a delay 1000 ms after clearing out leftover atomics and before re-launching the AOs to prevent MAX AO COUNT collision when loading the new set.

CAPTURE:
https://user-images.githubusercontent.com/80652610/188303370-ca088ab9-6a9e-4c1c-9c1a-d7206b20f113.mp4

@pm-bfx
Copy link

pm-bfx commented Sep 5, 2022

As usual your contribution is much appreciated! This is under review, I added the issue to the board so you could follow the evolution

@github-actions
Copy link

github-actions bot commented Nov 7, 2022

Stale issue message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants