mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-02-09 23:55:10 -05:00
refactor: centralize cache path logic and add TMPDIR documentation
This commit is contained in:
@@ -61,7 +61,7 @@ public class CacheCleanupService : BackgroundService
|
||||
|
||||
private async Task CleanupOldCachedFilesAsync(CancellationToken cancellationToken)
|
||||
{
|
||||
var cachePath = Path.Combine(Path.GetTempPath(), "octo-fiesta-cache");
|
||||
var cachePath = PathHelper.GetCachePath();
|
||||
|
||||
if (!Directory.Exists(cachePath))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user