0d550ff4b8
When a -dev agent is restarted it'll have a clean state, including a reset index. A watch() will reconnect after a restart, but it won't notice that the index counter has reset and it will keep waiting until we reached the old index again, which is wrong. Resetting the index will prevent that and makes watch work for -dev agents. |
||
---|---|---|
.. | ||
funcs.go | ||
funcs_test.go | ||
plan.go | ||
plan_test.go | ||
watch.go | ||
watch_test.go |