Skip to content

Commit 4c9fa6a

Browse files
committed
added debugging lines
1 parent b6eba38 commit 4c9fa6a

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
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.2</Version>
9+
<Version>2.11.13-debug.3</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

+2-6
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public WarService(
5151
Options = options;
5252
}
5353

54-
private int _min = int.MinValue;
54+
private int _min = 0;
5555

5656
protected override async Task ExecuteScheduledTaskAsync(CancellationToken cancellationToken)
5757
{
@@ -149,20 +149,16 @@ protected override async Task ExecuteScheduledTaskAsync(CancellationToken cancel
149149
}
150150
finally
151151
{
152-
debug = "q";
153152
foreach (string tag in updatingWar)
154153
Synchronizer.UpdatingWar.TryRemove(tag, out _);
155154

156-
debug = "r";
157155
foreach (string tag in _unmonitoredClans)
158156
Synchronizer.UpdatingClan.TryRemove(tag, out _);
159-
160-
debug = "s";
161157
}
162158
}
163159
catch (Exception e)
164160
{
165-
Logger.LogError(e, "ExecuteScheduledTaskAsync debug: {debug} min: {min} _id: {_id}", debug, min, _id);
161+
Logger.LogError(e, "ExecuteScheduledTaskAsync debug: {debug} min: {min} _id: {_id}", debug, _min, _id);
166162

167163
throw;
168164
}

0 commit comments

Comments
 (0)