Hardcode agent stale timeout
This commit is contained in:
@@ -42,8 +42,8 @@ CREATE TABLE IF NOT EXISTS agent_activity (
|
||||
// defaultSettings seeds initial values; OR IGNORE means existing rows are unchanged.
|
||||
const defaultSettings = "" +
|
||||
"INSERT OR IGNORE INTO settings (key, value) VALUES ('default_wait_seconds', '10');\n" +
|
||||
"INSERT OR IGNORE INTO settings (key, value) VALUES ('agent_stale_after_seconds', '30');\n" +
|
||||
"DELETE FROM settings WHERE key = 'default_empty_response';\n"
|
||||
"DELETE FROM settings WHERE key = 'default_empty_response';\n" +
|
||||
"DELETE FROM settings WHERE key = 'agent_stale_after_seconds';\n"
|
||||
|
||||
// Open opens (creating if necessary) a SQLite database at dbPath, applies the
|
||||
// schema, and seeds default settings.
|
||||
|
||||
Reference in New Issue
Block a user