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:
Liam Fitzgerald 2021-04-02 19:56:07 +10:00
parent f322360dca
commit 479fbfd798
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -4,7 +4,6 @@
++ grow
|%
++ noun update
++ metadata-update update
++ json (update:enjs:store update)
--
::