Skip to content

Commit

Permalink
Merge pull request #1514 from pi-hole/fix/query_store_message
Browse files Browse the repository at this point in the history
Always store time we start saving to the database
  • Loading branch information
DL6ER authored Dec 27, 2022
2 parents 4d4e10b + f0b133b commit 928fe82
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/database/query-table.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ int DB_save_queries(sqlite3 *db)
return DB_FAILED;

// Start database timer
if(config.debug & DEBUG_DATABASE)
timer_start(DATABASE_WRITE_TIMER);
timer_start(DATABASE_WRITE_TIMER);

// Open pihole-FTL.db database file if needed
bool db_opened = false;
Expand Down

0 comments on commit 928fe82

Please sign in to comment.