mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
ethdb/leveldb : add meter quit log
This commit is contained in:
parent
a6f4d17446
commit
c468f7eefd
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue