conditionally disable v2 apis (#1135)

* conditionally disable v2 apis

* update changelog
This commit is contained in:
Jason Dove
2023-01-25 11:37:43 -06:00
committed by GitHub
parent a21b6f9f4e
commit e69c58e615
5 changed files with 44 additions and 4 deletions
+5
View File
@@ -83,6 +83,11 @@ public class SchedulerService : BackgroundService
// do other work every hour (on the hour)
await DoWork(cancellationToken);
}
else if (roundedMinute % 30 == 0)
{
// release memory every 30 minutes no matter what
await ReleaseMemory(cancellationToken);
}
}
}
}