add cache_timeout option

controls how old the Jellyfin user cache can be before refetching. defaults to 30 minutes.
This commit is contained in:
Harvey Tindall
2020-11-02 23:26:46 +00:00
parent d4a92adc65
commit 8e45ecb214
5 changed files with 15 additions and 5 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ func (app *appContext) getOmbiUser(jfID string) (map[string]interface{}, int, er
username := jfUser["Name"].(string)
email := ""
if e, ok := app.storage.emails[jfID]; ok {
email := e.(string)
email = e.(string)
}
for _, ombiUser := range ombiUsers {
ombiAddr := ""