mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-26 10:53:44 +03:00
Address code-review
This commit is contained in:
parent
5eec11f232
commit
90755e6f13
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user