diff --git a/src/Universalis.Application/Controllers/V1/CurrentlyShownController.cs b/src/Universalis.Application/Controllers/V1/CurrentlyShownController.cs index 66956b06..1b9c17b7 100644 --- a/src/Universalis.Application/Controllers/V1/CurrentlyShownController.cs +++ b/src/Universalis.Application/Controllers/V1/CurrentlyShownController.cs @@ -126,7 +126,7 @@ public async Task Get( // Database logic var cts = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken); - cts.CancelAfter(TimeSpan.FromSeconds(5)); + cts.CancelAfter(TimeSpan.FromSeconds(10)); if (itemIdsArray.Length == 1) { diff --git a/src/Universalis.Application/Controllers/V2/CurrentlyShownController.cs b/src/Universalis.Application/Controllers/V2/CurrentlyShownController.cs index 081cf0f9..3b6c9dc5 100644 --- a/src/Universalis.Application/Controllers/V2/CurrentlyShownController.cs +++ b/src/Universalis.Application/Controllers/V2/CurrentlyShownController.cs @@ -126,7 +126,7 @@ public async Task Get( bool? hqBool = string.IsNullOrEmpty(hq) || hq.ToLowerInvariant() == "null" ? null : Util.ParseUnusualBool(hq); var cts = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken); - cts.CancelAfter(TimeSpan.FromSeconds(5)); + cts.CancelAfter(TimeSpan.FromSeconds(10)); if (itemIdsArray.Length == 1) { diff --git a/src/Universalis.DbAccess/MarketBoard/ListingStore.cs b/src/Universalis.DbAccess/MarketBoard/ListingStore.cs index a0368b58..00c6c2b1 100644 --- a/src/Universalis.DbAccess/MarketBoard/ListingStore.cs +++ b/src/Universalis.DbAccess/MarketBoard/ListingStore.cs @@ -395,7 +395,7 @@ ORDER BY unit_price try { var cacheValue = await db.StringGetAsync(cacheKey, commandFlags) - .WaitAsync(TimeSpan.FromMilliseconds(500), cancellationToken); + .WaitAsync(TimeSpan.FromSeconds(2), cancellationToken); if (cacheValue != RedisValue.Null) { CacheHits.Inc();