1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-09-19 19:00:11 +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
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()
}