Merge pull request 'migration' (#18) from migration into master

Reviewed-on: #18
This commit was merged in pull request #18.
This commit is contained in:
2026-05-15 22:05:36 +02:00
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -83,6 +83,8 @@ steps:
- mkdir -p $HOME/.kube - mkdir -p $HOME/.kube
- echo "$KUBE_CONFIG" > $HOME/.kube/config - echo "$KUBE_CONFIG" > $HOME/.kube/config
- kubectl apply -f litecharms-scheduler-uat.yml - kubectl apply -f litecharms-scheduler-uat.yml
- sleep 10
- kubectl rollout restart statefulset/litecharms-scheduler-uat -n litecharms-scheduler-uat
depends_on: depends_on:
- package - package
+1 -1
View File
@@ -7,7 +7,7 @@ namespace LiteCharmsScheduler.Workers
{ {
protected override async Task ExecuteAsync(CancellationToken stoppingToken) protected override async Task ExecuteAsync(CancellationToken stoppingToken)
{ {
await jobOrchestrator.ScheduleAsync(ProcessEmailNotificationsEvent.Create(), "0 0/1 * * * ?", stoppingToken); await jobOrchestrator.ScheduleAsync(ProcessEmailNotificationsEvent.Create(), "0 */5 * * * ?", stoppingToken);
logger.LogInformation("Startup jobs scheduled"); logger.LogInformation("Startup jobs scheduled");
} }