mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2024-10-01 06:55:46 -04:00
fix exception
This commit is contained in:
parent
d00722433d
commit
56d8f81cf2
@ -653,7 +653,7 @@ class DHTRecordPool with TableDBBacked<DHTRecordPoolAllocations> {
|
||||
// Process all watch changes
|
||||
// If any watched did not success, back off the attempts to
|
||||
// update the watches for a bit
|
||||
final allSuccess =
|
||||
final allSuccess = unord.isEmpty ||
|
||||
(await unord.map((f) => f()).wait).reduce((a, b) => a && b);
|
||||
if (!allSuccess) {
|
||||
_watchBackoffTimer *= watchBackoffMultiplier;
|
||||
|
Loading…
Reference in New Issue
Block a user