Skip to content

Commit b6eba38

Browse files
committed
added debugging lines
1 parent 701dc8d commit b6eba38

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/CocApi.Cache/CocApi.Cache.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<Authors>devhl</Authors>
77
<Product />
88
<Description>Caches response from the Clash of Clans API.</Description>
9-
<Version>2.11.13-debug.1</Version>
9+
<Version>2.11.13-debug.2</Version>
1010
<AssemblyVersion>2.0.0.0</AssemblyVersion>
1111
<FileVersion>2.0.0.0</FileVersion>
1212
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>

src/CocApi.Cache/Services/WarService.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,7 @@ protected override async Task ExecuteScheduledTaskAsync(CancellationToken cancel
8585

8686
debug = "d";
8787

88-
_min = cachedWars.Count == options.ConcurrentUpdates
89-
? cachedWars.Min(c => c.Id)
90-
: int.MinValue;
88+
_min = cachedWars.Min(c => c.Id);
9189

9290
_id = cachedWars.Count == options.ConcurrentUpdates
9391
? cachedWars.Max(c => c.Id)

0 commit comments

Comments
 (0)