ethdb/leveldb : add meter quit log

This commit is contained in:
ucwong 2020-04-28 01:54:19 +00:00
parent a6f4d17446
commit c468f7eefd

View file

@ -384,6 +384,7 @@ func (db *Database) meter(refresh time.Duration) {
// Sleep a bit, then repeat the stats collection
select {
case <-db.quitChan:
log.Info("Leveldb meter already quit")
return
// Quit requesting, stop hammering the database
case <-timer.C: