From 9406c15b0edfe4efc69f74cb157a612de8bab21b Mon Sep 17 00:00:00 2001 From: William Clark Date: Fri, 24 Nov 2023 11:00:20 +0000 Subject: [PATCH] used wrong MAX_SAVE_DUR --- db/sqlite3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/sqlite3.go b/db/sqlite3.go index 813960f..f8f5f30 100644 --- a/db/sqlite3.go +++ b/db/sqlite3.go @@ -81,7 +81,7 @@ func (ad *SQLite3Adapter) Save(channels []core.Channel) error { timestamp := time.Now().Format(time.DateTime) - saveContext, cancel := context.WithTimeout(context.Background(), INFLUXDB_MAX_SAVE_DUR) + saveContext, cancel := context.WithTimeout(context.Background(), SQLITE3_MAX_SAVE_DUR) defer cancel() for c := range channels {