mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 13:53:19 -07:00
Increased the delay for the Episode information api calls. #1163
Fixed the issue with notifications being slightly borked #1263 Fixed the issue for Radarr, the api changed again #1263
This commit is contained in:
parent
b9c0c20af6
commit
2d0297231d
6 changed files with 13 additions and 10 deletions
|
@ -154,7 +154,7 @@ namespace Ombi.Services.Jobs.RecentlyAddedNewsletter
|
|||
Ombi.Api.Models.Emby.EmbyMediaType.Episode,
|
||||
embySettings.ApiKey, embySettings.AdministratorId, embySettings.FullUri);
|
||||
episodeList.Add(epInfo.EpisodeInformation);
|
||||
Thread.Sleep(200); // Let's not try and overload the server
|
||||
Thread.Sleep(600); // Let's not try and overload the server
|
||||
}
|
||||
item.EpisodeInformation = episodeList;
|
||||
}
|
||||
|
@ -162,7 +162,7 @@ namespace Ombi.Services.Jobs.RecentlyAddedNewsletter
|
|||
{
|
||||
Log.Error(
|
||||
"Failed getting episode information, we may have overloaded Emby's api... Waiting and we will skip this one and go to the next");
|
||||
Thread.Sleep(500);
|
||||
Thread.Sleep(1000);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue