vocdoni-node
vocdoni-node copied to clipboard
Disable vote cache during replay
The cache purge is triggered many times per second. That's caused during the block replay stage.
2022-10-26T16:43:59Z DEBUG vochain/cache.go:110 removed 0 votes from cache
2022-10-26T16:44:00Z DEBUG vochain/cache.go:110 removed 0 votes from cache
2022-10-26T16:44:00Z DEBUG vochain/cache.go:110 removed 0 votes from cache
2022-10-26T16:44:00Z DEBUG vochain/cache.go:110 removed 0 votes from cache
2022-10-26T16:44:00Z DEBUG vochain/cache.go:110 removed 0 votes from cache
The Vote Cache might be disabled while replaying blocks since deliverTx() is executed directly (without previous checkTx() execution since the mempool is not working).