aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Application.cs14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs
index 7002da24..d721a1d1 100644
--- a/src/slskd/Application.cs
+++ b/src/slskd/Application.cs
@@ -727,15 +727,27 @@ namespace slskd
private void Clock_EveryFiveMinutes(object sender, EventArgs e)
{
- PruneTransfers();
+ _ = Task.Run(() => PruneTransfers());
}
private void Clock_EveryThirtyMinutes(object sender, EventArgs e)
{
+ _ = Task.Run(() => PruneFiles());
}
private void Clock_EveryHour(object sender, EventArgs e)
{
+ _ = Task.Run(() => PruneLogs());
+ }
+
+ private void PruneFiles()
+ {
+
+ }
+
+ private void PruneLogs()
+ {
+
}
private void PruneTransfers()