diff options
| author | JP Dillingham <jp@dillingham.me> | 2023-09-23 13:44:51 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2023-09-23 13:44:51 -0500 |
| commit | 051cb671df78190dac9a80d3d2b3f51d86d3a938 (patch) | |
| tree | 501c24560f18f2c5c1fc79e2c93c9a61afe20a03 /src | |
| parent | 6dff5f95f7b337d571be954088d47b0ac31bc535 (diff) | |
| download | slskd-051cb671df78190dac9a80d3d2b3f51d86d3a938.tar.gz | |
stub file and log pruning
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Application.cs | 14 |
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() |
