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
+18 -1
View File
@@ -293,7 +293,8 @@
"order": [],
"meta": {
"name": "Advanced",
"description": "Advanced settings."
"description": "Advanced settings.",
"advanced": true
},
"settings": {
"tls": {
@@ -330,6 +331,22 @@
"type": "text",
"value": "",
"description": "Path to .key file. See jfa-go wiki for more info."
},
"auth_retry_count": {
"name": "Initial auth retry count",
"required": false,
"requires_restart": true,
"type": "number",
"value": 6,
"description": "Number of times to retry initial connection to Jellyfin before failing."
},
"auth_retry_gap": {
"name": "Initial auth retry gap (seconds)",
"required": false,
"requires_restart": true,
"type": "number",
"value": 10,
"description": "Duration in seconds to wait between connection retries."
}
}
},