Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+2-2
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)