mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 21:12:56 +03:00
publish: fix backoff
This commit is contained in:
parent
4079de05f6
commit
aabd890b6d
@ -523,7 +523,7 @@
|
||||
:: if nacked, then set a exponential backoff and retry
|
||||
=/ nack-count=@ud
|
||||
+((~(gut by migrate) rid 0))
|
||||
?: (gte 24 nack-count)
|
||||
?: (gte nack-count 24)
|
||||
~& >>> "failed to migrate notebook {<rid>} to graph-store"
|
||||
[~ this]
|
||||
:_ this(migrate (~(put by migrate) rid nack-count))
|
||||
|
Loading…
Reference in New Issue
Block a user