backread_hours is in hours, not days
This commit is contained in:
parent
7c0b6036f2
commit
5d6b7fedaf
@ -1310,9 +1310,9 @@ static list_t *log_backread_hours(log_t *log, const char *storename,
|
|||||||
list_iterator_t file_it;
|
list_iterator_t file_it;
|
||||||
|
|
||||||
gettimeofday(&tv, NULL);
|
gettimeofday(&tv, NULL);
|
||||||
if (tv.tv_sec <= 3600 * 24 * hours)
|
if (tv.tv_sec <= 3600 * hours)
|
||||||
return NULL;
|
return NULL;
|
||||||
blstarttime = tv.tv_sec - 3600 * 24 * hours;
|
blstarttime = tv.tv_sec - 3600 * hours;
|
||||||
|
|
||||||
store = hash_get(&log->logfgs, storename);
|
store = hash_get(&log->logfgs, storename);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user