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-03-12 06:41:03 +00:00
2024-03-11 16:57:20 +00:00
2022-01-10 09:32:56 -06:00
2023-09-13 16:17:56 +02:00
2024-03-11 16:57:20 +00:00
2024-01-29 17:03:51 -03:00
2024-01-29 17:03:51 -03:00
2023-08-01 16:47:57 -07:00
2023-08-01 16:47:57 -07:00
2024-03-11 16:57:20 +00:00
2024-01-22 23:35:03 -08:00
2023-08-01 16:47:57 -07:00
2023-04-19 15:06:00 +02:00
2024-01-29 17:03:51 -03:00