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
..
2024-02-29 07:37:12 +00:00
2024-01-11 08:45:23 -08:00
2024-02-19 10:12:10 -08:00
2024-03-12 06:41:03 +00:00
2024-02-19 18:58:39 +00:00
2024-01-29 17:03:51 -03:00
2024-02-09 21:40:30 +00:00
2023-12-21 06:41:43 +00:00
2024-01-15 08:45:04 -08:00
2024-03-12 06:41:03 +00:00
2024-03-12 06:41:03 +00:00
2024-02-19 18:58:39 +00:00
2023-03-08 16:04:54 +01:00