mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 11:24:21 +03:00
push-hook: noop on unversioned, unsupported watches
Mainnet is currently experiencing undue load due to a watch-kick loop. If the watch is unsupported, it will be kicked due to a mark mismatch, which will be interpreted by the unversioned hooks as a network pressure kick, prompting a resub and continuing the loop. Instead, we now no-op on unversioned, unsupported watches, waiting for the subscriber to rewatch after it processes the versioning OTA. This will silently break groups for the subscriber until the reach the latest OTA, but is preferable to nacking, and kicking them permanently
This commit is contained in:
parent
f322360dca
commit
479fbfd798
@ -277,6 +277,9 @@
|
||||
::
|
||||
++ unversioned
|
||||
?> ?=([%ship @ @ *] t.path)
|
||||
?. =(min-version.config 0)
|
||||
~& >>> "unversioned req from: {<src.bowl>}, nooping"
|
||||
`this
|
||||
=/ =resource
|
||||
(de-path:resource t.path)
|
||||
=/ =vase
|
||||
|
@ -4,7 +4,6 @@
|
||||
++ grow
|
||||
|%
|
||||
++ noun update
|
||||
++ metadata-update update
|
||||
++ json (update:enjs:store update)
|
||||
--
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user