Skip to content

Commit da1c19a

Browse files
committed
Whoops, missed converting the other sleep() call to pg_usleep().
1 parent 050a007 commit da1c19a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/postmaster/pgarch.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*
2020
*
2121
* IDENTIFICATION
22-
* $PostgreSQL: pgsql/src/backend/postmaster/pgarch.c,v 1.11 2004/11/17 17:50:20 tgl Exp $
22+
* $PostgreSQL: pgsql/src/backend/postmaster/pgarch.c,v 1.12 2004/11/18 17:13:38 tgl Exp $
2323
*
2424
*-------------------------------------------------------------------------
2525
*/
@@ -392,7 +392,7 @@ pgarch_ArchiverCopyLoop(void)
392392
xlog)));
393393
return; /* give up archiving for now */
394394
}
395-
sleep(1); /* wait a bit before retrying */
395+
pg_usleep(1000000L); /* wait a bit before retrying */
396396
}
397397
}
398398
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy