ipfs-cluster/consensus/crdt
Hector Sanjuan 6716f5471a Fix: wrong pins metric when batching enabled
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.
2022-04-25 23:45:34 +02:00
..
config_test.go crdt: add RepairInterval option 2022-02-01 23:29:40 +01:00
config.go crdt: add RepairInterval option 2022-02-01 23:29:40 +01:00
consensus_test.go Adopt api.Cid type - replaces cid.Cid everwhere. 2022-04-07 14:27:39 +02:00
consensus.go Fix: wrong pins metric when batching enabled 2022-04-25 23:45:34 +02:00