mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 09:00:10 +00:00
jellyseerr: set appropriate daemon period
was 30s for testing, is now every 10 minutes.
This commit is contained in:
parent
db1c62cc46
commit
a136800ff2
4
main.go
4
main.go
@ -491,8 +491,8 @@ func start(asDaemon, firstCall bool) {
|
||||
|
||||
var jellyseerrDaemon *GenericDaemon
|
||||
if app.config.Section("jellyseerr").Key("enabled").MustBool(false) && app.config.Section("jellyseerr").Key("import_existing").MustBool(false) {
|
||||
jellyseerrDaemon = newJellyseerrDaemon(time.Duration(30*time.Second), app)
|
||||
// jellyseerrDaemon = newJellyseerrDaemon(time.Duration(5*time.Minute), app)
|
||||
// jellyseerrDaemon = newJellyseerrDaemon(time.Duration(30*time.Second), app)
|
||||
jellyseerrDaemon = newJellyseerrDaemon(time.Duration(10*time.Minute), app)
|
||||
go jellyseerrDaemon.run()
|
||||
defer jellyseerrDaemon.Shutdown()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user