Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Bot sometimes freezes, but does not crash #4

Open
lucashuy opened this issue Jul 3, 2021 · 2 comments
Open

Bot sometimes freezes, but does not crash #4

lucashuy opened this issue Jul 3, 2021 · 2 comments
Labels
bug Something isn't working feature Relates to a feature moreinfo Requires more information

Comments

@lucashuy
Copy link
Owner

lucashuy commented Jul 3, 2021

The bot sometimes ghosts some people and does not return their money while returning others.

Cause is unknown, but a possible fix is to keep the list of swaps to do on the bot, instead of leaving it to die once it leaves scope. This way the bot can retry any swaps it missed on the next poll cycle.

@lucashuy lucashuy added bug Something isn't working feature Relates to a feature moreinfo Requires more information wontfix This will not be worked on labels Jul 3, 2021
@lucashuy
Copy link
Owner Author

lucashuy commented Jul 7, 2021

There has only been two cases where this happened, once during my own private usage and once during a closed beta. It has never happened again. Will close issue until something happens again.

@lucashuy lucashuy closed this as completed Jul 7, 2021
@lucashuy lucashuy reopened this Jul 13, 2021
@lucashuy lucashuy removed the wontfix This will not be worked on label Jul 13, 2021
@lucashuy lucashuy changed the title Bot ghosting some people, but not others Bot sometimes freezes, but does not crash Jul 17, 2021
@lucashuy
Copy link
Owner Author

lucashuy commented Aug 9, 2021

Experienced it again this morning. Nothing out of the ordinary, the bot does not crash or come across any exceptions.

I don't know what causes this since if the API returns faulty data (invalid format), the bot catches the exception and restarts. If the bot gets a response other than 2xx, it restarts.

One potential "fix" for this is to have automated forced restarts (maybe timing them with shaking sats timer).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working feature Relates to a feature moreinfo Requires more information
Projects
None yet
Development

No branches or pull requests

1 participant