6716f5471a
When batching is enabled, the "batchingstate" is used to add/remove pins, but the non-batching state is used as read-only state for doing List(). This means that both states will be writing pins metrics but the batching state is never used for List(), so it never has the right total number. This fixes that. |
||
---|---|---|
.. | ||
config_test.go | ||
config.go | ||
consensus_test.go | ||
consensus.go |