Address code-review

This commit is contained in:
Alexander Kukushkin 2019-05-07 14:18:09 +02:00
parent 5eec11f232
commit 90755e6f13

View File

@ -152,7 +152,7 @@ consume_stream(replicationCursorObject *self,
CLEARPGRES(curs->pgres); CLEARPGRES(curs->pgres);
self->consuming = 1; self->consuming = 1;
if (keepalive_interval >= 1) { if (keepalive_interval > 0) {
set_status_interval(self, keepalive_interval); set_status_interval(self, keepalive_interval);
} }