Skip to content

Commit

Permalink
Address code-review
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Kukushkin committed May 7, 2019
1 parent 5eec11f commit 90755e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psycopg/replication_cursor_type.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 152,7 @@ consume_stream(replicationCursorObject *self,
CLEARPGRES(curs->pgres);

self->consuming = 1;
if (keepalive_interval >= 1) {
if (keepalive_interval > 0) {
set_status_interval(self, keepalive_interval);
}

Expand Down

0 comments on commit 90755e6

Please sign in to comment.