nim-codex/codex/sales/states
markspanbroek e654e93c71
Fix sales agent (#733)
* clock: add 1 second leeway before acting on timeouts

* sales: do not raise in proving loop when slot is cancelled

Allow the onCancelled callback to handle cancellation, and
the onFailed callback to handle failed requests.

* sales: cleanup proving tests

* sales: fix sales agent tests

* sales: stop cancellation loop when request started, finished or failed

* sales: fix flaky test

* sales: fix another flaky test

* clock: add comment explaining the + 1 second

Co-Authored-By: benbierens <thatbenbierens@gmail.com>

---------

Co-authored-by: benbierens <thatbenbierens@gmail.com>
2024-03-12 06:41:03 +00:00
..
cancelled.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
downloading.nim refactor: multinode integration test refactor (#662) 2024-02-19 04:55:39 +00:00
errored.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
errorhandling.nim [marketplace] Load sales state from chain (#306) 2023-03-08 14:34:26 +01:00
failed.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
filled.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
filling.nim refactor: multinode integration test refactor (#662) 2024-02-19 04:55:39 +00:00
finished.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
ignored.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
initialproving.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
payout.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
preparing.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
proving.nim Fix sales agent (#733) 2024-03-12 06:41:03 +00:00
provingsimulated.nim refactor: multinode integration test refactor (#662) 2024-02-19 04:55:39 +00:00
unknown.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00