diff --git a/src/ckdb.c b/src/ckdb.c index 578bb942..c8f3c9f0 100644 --- a/src/ckdb.c +++ b/src/ckdb.c @@ -3232,6 +3232,7 @@ setitemdata: found_msgs[i].last.tv_sec = 0; ck_wlock(&seq_found_lock); if (has_found) { + setnow(&found_now); for (i = 0; i < SEQ_MAX; i++) { if (found[i].last.tv_sec != 0 && tvdiff(&found_now, &(found[i].last)) >= 2.0) { diff --git a/src/ckdb.h b/src/ckdb.h index 83117ffe..628bcb5f 100644 --- a/src/ckdb.h +++ b/src/ckdb.h @@ -58,7 +58,7 @@ #define DB_VLOCK "1" #define DB_VERSION "1.0.7" -#define CKDB_VERSION DB_VERSION"-2.410" +#define CKDB_VERSION DB_VERSION"-2.411" #define WHERE_FFL " - from %s %s() line %d" #define WHERE_FFL_HERE __FILE__, __func__, __LINE__