shrub/pkg/arvo/tests/sys/vane
fang 1d4ee5a7b5
eyre: kick busy subscriptions if client not acking
In order to curb event queue growth when a client for whatever reason
isn't acking the events we send out, we implement a mechanism for
detecting such "clogging", and proactively kick subscriptions which are
adding too many events to the queue.

If the client hasn't sent an ack for ~s30, any subscription that accrues
more than 50 unacked %facts gets closed to prevent further buildup.

Upon reconnecting, the client will see %kick for the relevant
subscriptions and can open a new subscription as appropriate.

Includes a simple test for this behavior, and updates /app/dbug to be
able to display the newly tracked statistics.
2020-10-19 15:56:05 +02:00
..
ames.hoon -test /sys/vane/{ames,clay} 2020-04-18 19:53:45 -04:00
clay.hoon hoon: re-fix +slab; /tests: fix clay tests 2020-06-28 00:59:02 -04:00
eyre.hoon eyre: kick busy subscriptions if client not acking 2020-10-19 15:56:05 +02:00
gall.hoon /tests: gall tests pass again 2020-05-20 04:22:40 -04:00
iris.hoon ford-fusion: all vane tests pass 2020-04-18 20:01:26 -04:00