nim-codex/codex/sales
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
reservations.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
salesagent.nim Fix sales agent (#733) 2024-03-12 06:41:03 +00:00
salescontext.nim Smart contracts update: Groth16Proof instead of bytes (#683) 2024-02-07 07:50:35 +01:00
salesdata.nim [marketplace] Availability improvements (#535) 2023-09-29 14:33:08 +10:00
slotqueue.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
statemachine.nim refactor: merging proving module into sales (#469) 2023-08-21 12:26:43 +02:00