mirror of
https://github.com/python/cpython.git
synced 2025-07-19 17:25:54 +00:00
asyncio, tulip issue 203: Add _FlowControlMixin.get_write_buffer_limits() method
This commit is contained in:
parent
b261475a48
commit
52bb949fd3
3 changed files with 17 additions and 0 deletions
|
@ -273,6 +273,9 @@ class _FlowControlMixin(Transport):
|
|||
'protocol': self._protocol,
|
||||
})
|
||||
|
||||
def get_write_buffer_limits(self):
|
||||
return (self._low_water, self._high_water)
|
||||
|
||||
def _set_write_buffer_limits(self, high=None, low=None):
|
||||
if high is None:
|
||||
if low is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue