Skip to content

Commit

Permalink
Remove space in envvar name
Browse files Browse the repository at this point in the history
  • Loading branch information
bdach committed Aug 7, 2024
1 parent 327669a commit 8b57913
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ protected DatabaseTest(AssemblyName[]? externalProcessorAssemblies = null)
? new CancellationTokenSource()
: new CancellationTokenSource(20000);

Environment.SetEnvironmentVariable("ALWAYS_USE_REALTIME_DIFFICULTY ", "0");
Environment.SetEnvironmentVariable("ALWAYS_USE_REALTIME_DIFFICULTY", "0");

Processor = new ScoreStatisticsQueueProcessor(externalProcessorAssemblies: externalProcessorAssemblies);
Processor.Error += processorOnError;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace osu.Server.Queues.ScoreStatisticsProcessor.Stores
/// </summary>
public class BeatmapStore
{
private static readonly bool always_use_realtime_difficulty_calculation = Environment.GetEnvironmentVariable("ALWAYS_USE_REALTIME_DIFFICULTY ") != "0";
private static readonly bool always_use_realtime_difficulty_calculation = Environment.GetEnvironmentVariable("ALWAYS_USE_REALTIME_DIFFICULTY") != "0";
private static readonly string beatmap_download_path = Environment.GetEnvironmentVariable("BEATMAP_DOWNLOAD_PATH") ?? "https://osu.ppy.sh/osu/{0}";

private readonly ConcurrentDictionary<uint, Beatmap?> beatmapCache = new ConcurrentDictionary<uint, Beatmap?>();
Expand Down

0 comments on commit 8b57913

Please sign in to comment.