update caching to use automatic timer instead of request based to prevent task cancellation

This commit is contained in:
RaidMax
2021-11-15 10:25:55 -06:00
parent 08bcd23cbc
commit a88b30562c
13 changed files with 65 additions and 35 deletions

View File

@ -123,9 +123,9 @@ namespace SharedLibraryCore.Configuration
if (passwords.Length > 1)
{
var (index, value) =
loc["SETUP_RCON_PASSWORD_PROMPT"].PromptSelection("Other", null,
loc["SETUP_RCON_PASSWORD_PROMPT"].PromptSelection(loc["SETUP_RCON_PASSWORD_MANUAL"], null,
passwords.Select(pw =>
$"{pw.Item1}{(string.IsNullOrEmpty(pw.Item2) ? "" : " " + pw.Item2)}").ToArray());
$"{pw.Item1}{(string.IsNullOrEmpty(pw.Item2) ? "" : " " + pw.Item2)}").ToArray());
if (index > 0)
{