* app: refactor: don't rewrite config file after filters are updated
This commit is contained in:
parent
eefdf8449a
commit
0884116de3
5
app.go
5
app.go
|
@ -127,11 +127,6 @@ func run(args options) {
|
|||
// Update filters we've just loaded right away, don't wait for periodic update timer
|
||||
go func() {
|
||||
refreshFiltersIfNecessary(false)
|
||||
// Save the updated config
|
||||
err := config.write()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
}()
|
||||
// Schedule automatic filters updates
|
||||
go periodicallyRefreshFilters()
|
||||
|
|
Loading…
Reference in New Issue