ckdb - only check blocks confirmed after startup completes
This commit is contained in:
parent
2530c8a028
commit
2990e69f58
@ -1630,7 +1630,8 @@ static void *summariser(__maybe_unused void *arg)
|
||||
while (!everyone_die) {
|
||||
sleep(5);
|
||||
if (!everyone_die) {
|
||||
check_blocks();
|
||||
if (startup_complete)
|
||||
check_blocks();
|
||||
summarise_blocks();
|
||||
}
|
||||
|
||||
|
||||
@ -52,7 +52,7 @@
|
||||
|
||||
#define DB_VLOCK "1"
|
||||
#define DB_VERSION "0.9.2"
|
||||
#define CKDB_VERSION DB_VERSION"-0.512"
|
||||
#define CKDB_VERSION DB_VERSION"-0.513"
|
||||
|
||||
#define WHERE_FFL " - from %s %s() line %d"
|
||||
#define WHERE_FFL_HERE __FILE__, __func__, __LINE__
|
||||
|
||||
Loading…
Reference in New Issue
Block a user