nim-codex/codex/purchasing/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
error.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
errorhandling.nim Cleanup purchasing state machine (#422) 2023-06-05 10:48:06 +02:00
failed.nim Rename metrics (#478) (#603) 2023-11-03 17:21:54 +02:00
finished.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
pending.nim Rename metrics (#478) (#603) 2023-11-03 17:21:54 +02:00
started.nim Fix sales agent (#733) 2024-03-12 06:41:03 +00:00
submitted.nim refactor: multinode integration test refactor (#662) 2024-02-19 04:55:39 +00:00
unknown.nim Rename metrics (#478) (#603) 2023-11-03 17:21:54 +02:00