mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 15:07:23 +01:00
don't print at 0pct
This commit is contained in:
parent
cc6181d7c3
commit
fb66b12768
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ public class ClientPairPermissionsCleanupService(ILogger<ClientPairPermissionsCl
|
||||||
var completionPcnt = userNoInc / (double)users.Count;
|
var completionPcnt = userNoInc / (double)users.Count;
|
||||||
var completionInt = (int)(completionPcnt * 100);
|
var completionInt = (int)(completionPcnt * 100);
|
||||||
|
|
||||||
if (!completionDebugPrint.TryGetValue(completionInt, out bool posted) || !posted)
|
if (completionInt > 0 && (!completionDebugPrint.TryGetValue(completionInt, out bool posted) || !posted))
|
||||||
{
|
{
|
||||||
completionDebugPrint[completionInt] = true;
|
completionDebugPrint[completionInt] = true;
|
||||||
var elapsed = st.Elapsed;
|
var elapsed = st.Elapsed;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue