diff options
Diffstat (limited to 'db.cpp')
-rw-r--r-- | db.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -132,6 +132,8 @@ void CDB::Close() // Flush database activity from memory pool to disk log unsigned int nMinutes = 0; + if (fReadOnly) + nMinutes = 1; if (strFile == "addr.dat") nMinutes = 2; if (strFile == "blkindex.dat" && IsInitialBlockDownload() && nBestHeight % 500 != 0) |