yosoyubik
21158d6d54
ames: style fixes and comments
2023-02-14 06:06:41 +01:00
yosoyubik
ee76b97f49
ames: fix |close-flow generator
2023-02-06 16:38:59 +01:00
yosoyubik
1d8214530a
ames: fix |close-flows generator
2023-02-06 16:38:50 +01:00
yosoyubik
ad712caccf
ames, gall: move |close-flows logic to vanes
...
This modifies the %rake task in %gall, to select what kind of
subscriptions we try to close:
=mode %o: kill old pre-nonce subscriptions
=mode %z: kill old pre-nonce subscriptions, including sub-nonce = 0
=mode %r: kills all stale resubscription flows
It also adds a dry-run option to both tasks (%kroc in ames, %rake in gall)
2023-02-06 16:36:32 +01:00
yosoyubik
872db0efcc
ames, +close-flows: combine stale flows
...
This combines two types of flows that can be closed:
- nacking %watch pleas
- resubscriptions that were not properly corked
2023-02-06 16:36:31 +01:00
yosoyubik
81f01c456b
ames: clean up unused logic in |close-flows
2023-02-06 16:36:31 +01:00
yosoyubik
2ebab4938b
ames: address feedback in |close-flows
2023-02-06 16:36:29 +01:00
yosoyubik
2c791daf09
ames: in |close-flows fix bug matching subs wire
2023-02-06 16:36:29 +01:00
yosoyubik
8c17e5c32d
ames: in |close-flows inspect wires in the duct
...
we now don't assume where the wire is in the duct, and just
pattern match until we find a subscription wire
2023-02-06 16:36:28 +01:00
yosoyubik
3a7bd3a67f
ames: add tool for removing failed %watch flows
2023-02-06 16:36:27 +01:00