mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 15:56:05 -07:00
Reduce the retry time
This commit is contained in:
parent
3384ba90fc
commit
795e691bdb
6 changed files with 18 additions and 14 deletions
|
@ -68,9 +68,9 @@ namespace PlexRequests.UI.Modules
|
|||
{
|
||||
return Response.AsJson(new JsonUpdateAvailableModel { UpdateAvailable = false });
|
||||
}
|
||||
#if DEBUG
|
||||
return Response.AsJson(new JsonUpdateAvailableModel {UpdateAvailable = false});
|
||||
#endif
|
||||
//#if DEBUG
|
||||
//return Response.AsJson(new JsonUpdateAvailableModel {UpdateAvailable = false});
|
||||
//#endif
|
||||
var checker = new StatusChecker(SystemSettings);
|
||||
var release = await Cache.GetOrSetAsync(CacheKeys.LastestProductVersion, async() => await checker.GetStatus(), 30);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue