[pgjdbc/pgjdbc] 36a75c: fix issue 1547, as long as peek returns somebytes...
[pgjdbc/pgjdbc] 36a75c: fix issue 1547, as long as peek returns somebytes...
От:
Dave Cramer <noreply@github.com>
Дата:
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: 36a75cbaab4bda1b55f48aa9064258051cd89b10
https://github.com/pgjdbc/pgjdbc/commit/36a75cbaab4bda1b55f48aa9064258051cd89b10
Author: Dave Cramer
Date: 2019-08-26 (Mon, 26 Aug 2019)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/core/PGStream.java
Log Message:
-----------
fix issue 1547, as long as peek returns some bytes do not reset the timeout, this allows us to continue checking until any async notifies are consumed (#1548)