mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-08-05 20:54:27 -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
|
// Process all watch changes
|
||||||
// If any watched did not success, back off the attempts to
|
// If any watched did not success, back off the attempts to
|
||||||
// update the watches for a bit
|
// update the watches for a bit
|
||||||
final allSuccess =
|
final allSuccess = unord.isEmpty ||
|
||||||
(await unord.map((f) => f()).wait).reduce((a, b) => a && b);
|
(await unord.map((f) => f()).wait).reduce((a, b) => a && b);
|
||||||
if (!allSuccess) {
|
if (!allSuccess) {
|
||||||
_watchBackoffTimer *= watchBackoffMultiplier;
|
_watchBackoffTimer *= watchBackoffMultiplier;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue