1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-11-09 20:00:12 +00:00

jellyseerr: set appropriate daemon period

was 30s for testing, is now every 10 minutes.
This commit is contained in:
Harvey Tindall 2024-07-31 15:32:49 +01:00
parent db1c62cc46
commit a136800ff2
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2

View File

@ -491,8 +491,8 @@ func start(asDaemon, firstCall bool) {
var jellyseerrDaemon *GenericDaemon var jellyseerrDaemon *GenericDaemon
if app.config.Section("jellyseerr").Key("enabled").MustBool(false) && app.config.Section("jellyseerr").Key("import_existing").MustBool(false) { 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(30*time.Second), app)
// jellyseerrDaemon = newJellyseerrDaemon(time.Duration(5*time.Minute), app) jellyseerrDaemon = newJellyseerrDaemon(time.Duration(10*time.Minute), app)
go jellyseerrDaemon.run() go jellyseerrDaemon.run()
defer jellyseerrDaemon.Shutdown() defer jellyseerrDaemon.Shutdown()
} }