increase pay timeout

This commit is contained in:
Florian Dold 2021-02-05 12:10:56 +01:00
parent 8fe6cff297
commit f234eef469
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -677,8 +677,8 @@ function getProposalRequestTimeout(proposal: ProposalRecord): Duration {
function getPayRequestTimeout(purchase: PurchaseRecord): Duration {
return durationMul(
{ d_ms: 5000 },
1 + purchase.payCoinSelection.coinPubs.length / 20,
{ d_ms: 15000 },
1 + purchase.payCoinSelection.coinPubs.length / 5,
);
}