Skip to content

Commit

Permalink
Allow interrupts in pg_cron launcher loop to avoid deadlock
Browse files Browse the repository at this point in the history
Ngalstyan4 committed Apr 1, 2024
1 parent 2a1d311 commit 19f8ebf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pg_cron.c
Original file line number Diff line number Diff line change
@@ -631,6 +631,8 @@ PgCronLauncherMain(Datum arg)
List *taskList = NIL;
TimestampTz currentTime = 0;

CHECK_FOR_INTERRUPTS();

AcceptInvalidationMessages();

if (CronReloadConfig)

0 comments on commit 19f8ebf

Please sign in to comment.