a fix to the latest code

This commit is contained in:
2024-09-16 00:27:57 +03:30
parent 79f2318a64
commit c92442ad99

View File

@@ -72,7 +72,7 @@ public class MastodonBot
}
// Set a timer to fetch and process posts every 15 minutes
//_timer = new Timer(async _ => await RunCheck.runAsync(db, bot, DotNetEnv.Env.GetString("TAG"), logger, DotNetEnv.Env.GetString("CUSTOM_INSTANCE")), null, TimeSpan.Zero, TimeSpan.FromMinutes(15));
_timer = new Timer(async _ => await RunCheck.runAsync(db, bot, DotNetEnv.Env.GetString("TAG"), logger, DotNetEnv.Env.GetString("CUSTOM_INSTANCE")), null, TimeSpan.Zero, TimeSpan.FromMinutes(15));
Console.ReadLine();
}