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 {