From fc51ae29646da93c3f8c9a3f8ddacdae473c24e1 Mon Sep 17 00:00:00 2001 From: kanoi Date: Sat, 29 Aug 2015 22:58:33 +1000 Subject: [PATCH] ckdb - fix block stat generation error handler typo bug --- src/ckdb.h | 2 +- src/ckdb_data.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ckdb.h b/src/ckdb.h index b6cfd070..7db37e9b 100644 --- a/src/ckdb.h +++ b/src/ckdb.h @@ -55,7 +55,7 @@ #define DB_VLOCK "1" #define DB_VERSION "1.0.2" -#define CKDB_VERSION DB_VERSION"-1.227" +#define CKDB_VERSION DB_VERSION"-1.228" #define WHERE_FFL " - from %s %s() line %d" #define WHERE_FFL_HERE __FILE__, __func__, __LINE__ diff --git a/src/ckdb_data.c b/src/ckdb_data.c index ab3f5913..6b145163 100644 --- a/src/ckdb_data.c +++ b/src/ckdb_data.c @@ -2924,8 +2924,8 @@ bool check_update_blocks_stats(tv_t *stats) K_RUNLOCK(workinfo_free); if (!w_item) { setnow(&now); - if (!blocks->workinfoid != last_missing_workinfoid || - tvdiff(&now, &last_message) >= 5.0) { + if (blocks->workinfoid != last_missing_workinfoid || + tvdiff(&now, &last_message) >= 15.0) { LOGEMERG("%s(): missing block workinfoid %" PRId32"/%"PRId64"/%s", __func__, blocks->height,