Skip to content

Commit

Permalink
pglogical_apply.c :: CHECK_FOR_INTERRUPTS
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei-Pozolotin committed Jun 2, 2023
1 parent 1ac2253 commit 2d86e69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pglogical_apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -1360,6 +1360,8 @@ apply_work(PGconn *streamConn)
{
int rc;
int r;

CHECK_FOR_INTERRUPTS();

/*
* Background workers mustn't call usleep() or any direct equivalent:
Expand Down

0 comments on commit 2d86e69

Please sign in to comment.