nim-codex/codex/purchasing
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
..
states Fix sales agent (#733) 2024-03-12 06:41:03 +00:00
purchase.nim Build slots (#668) 2024-01-11 08:45:23 -08:00
purchaseid.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
statemachine.nim Cleanup purchasing state machine (#422) 2023-06-05 10:48:06 +02:00