Skip to content
Snippets Groups Projects
Commit e8ee3d6b authored by Simon Riggs's avatar Simon Riggs
Browse files

Check interrupts during hot standby waits

parent 2a2bdcab
No related branches found
No related tags found
No related merge requests found
......@@ -161,6 +161,8 @@ WaitExceedsMaxStandbyDelay(void)
{
TimestampTz ltime;
CHECK_FOR_INTERRUPTS();
/* Are we past the limit time? */
ltime = GetStandbyLimitTime();
if (ltime && GetCurrentTimestamp() >= ltime)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment