mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-08 15:29:38 -04:00
fix exception
This commit is contained in:
parent
d00722433d
commit
56d8f81cf2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue