aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Application.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Application.cs')
-rw-r--r--src/slskd/Application.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs
index 5a56e110..ed3aec30 100644
--- a/src/slskd/Application.cs
+++ b/src/slskd/Application.cs
@@ -965,10 +965,10 @@ namespace slskd
var lastProgress = Math.Round(previous.ScanProgress * 100);
var currentProgress = Math.Round(current.ScanProgress * 100);
- if (lastProgress != currentProgress && Math.Round(currentProgress, 0) % 10d == 0)
+ if (lastProgress != currentProgress && Math.Round(currentProgress, 0) % 5d == 0)
{
State.SetValue(s => s with { Shares = current });
- Log.Information("Scanned {Percent}% () of shared directories. Found {Files} files so far.", currentProgress, current.Files);
+ Log.Information("Scanned {Percent}% of shared directories. Found {Files} files so far.", currentProgress, current.Files);
}
}
}