used wrong MAX_SAVE_DUR
This commit is contained in:
parent
0a90368c04
commit
9406c15b0e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user