mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-12-01 21:23:43 +03:00
Clear repl_stop flag after the consume loop.
This commit is contained in:
parent
e05b4fd267
commit
822d671e8b
|
@ -1684,6 +1684,7 @@ psyco_curs_consume_replication_stream(cursorObject *self, PyObject *args, PyObje
|
||||||
}
|
}
|
||||||
|
|
||||||
self->repl_consuming = 0;
|
self->repl_consuming = 0;
|
||||||
|
self->repl_stop = 0; /* who knows, what if we will be called again? */
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user