Fixed cleanup, error handling missing and missing gif
This commit is contained in:
@@ -46,13 +46,11 @@ public class CleanupService
|
||||
|
||||
var config = ConfigService.GetSection("Moonlight").GetSection("Cleanup");
|
||||
|
||||
/*
|
||||
* if (!config.GetValue<bool>("Enable") || ConfigService.DebugMode)
|
||||
if (!config.GetValue<bool>("Enable") || ConfigService.DebugMode)
|
||||
{
|
||||
Logger.Info("Disabling cleanup service");
|
||||
return;
|
||||
}
|
||||
*/
|
||||
|
||||
Timer = new(TimeSpan.FromMinutes(config.GetValue<int>("Wait")));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user