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:
parent
db1c62cc46
commit
a136800ff2
4
main.go
4
main.go
@ -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()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user