jellyfin: retry initial connection (configurable)

retries initial connection to Jellyfin 6 times, with a 10s gap between,
before failing. SHould help with issues of jfa-go starting before
Jellyfin.
Configurable in Settings > Advanced > "Initial auth retry count/gap".
This commit is contained in:
Harvey Tindall
2023-10-03 09:33:56 +01:00
parent 4f78b7c33b
commit f6fdd41b35
4 changed files with 31 additions and 43 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ require (
github.com/hrfee/jfa-go/linecache v0.0.0-20230626224816-f72960635dc3
github.com/hrfee/jfa-go/logger v0.0.0-20230626224816-f72960635dc3
github.com/hrfee/jfa-go/ombi v0.0.0-20230626224816-f72960635dc3
github.com/hrfee/mediabrowser v0.3.10
github.com/hrfee/mediabrowser v0.3.11
github.com/itchyny/timefmt-go v0.1.5
github.com/lithammer/shortuuid/v3 v3.0.7
github.com/mailgun/mailgun-go/v4 v4.9.1