mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-19 13:44:55 +01:00
There was a race conditions between the database storing the mint quote and the fake wallet paying the invoice of a yet not existing mint quote Add a delay of seconds before paying all invoices To recreate the slow conditions that would make our database slower than the external Fakewallet in Linux ``` sudo tc qdisc add dev lo root netem delay 200ms 50ms ionice -c3 nix develop -i -L .#stable --command just itest-payment-processor FAKEWALLET ``` To reset ``` sudo tc qdisc del dev lo root ```