*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/replication/walsender.c,v 1.11 2010/03/24 20:11:12 sriggs Exp $
+ * $PostgreSQL: pgsql/src/backend/replication/walsender.c,v 1.12 2010/03/24 21:41:57 sriggs Exp $
*
*-------------------------------------------------------------------------
*/
/* Loop forever */
for (;;)
{
- int remain; /* remaining time (ms) */
+ long remain; /* remaining time (us) */
/*
* Emergency bailout if postmaster has died. This is to avoid the
*
* On some platforms, signals won't interrupt the sleep. To ensure we
* respond reasonably promptly when someone signals us, break down the
- * sleep into NAPTIME_PER_CYCLE (ms) increments, and check for
+ * sleep into NAPTIME_PER_CYCLE increments, and check for
* interrupts after each nap.
*/
remain = WalSndDelay * 1000L;