Message343017
| Author | asvetlov |
|---|---|
| Recipients | asvetlov, viocal, yselivanov |
| Date | 2019-05-21.11:42:27 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1558438948.0.0.987449947679.issue36981@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
No. It doesn't work this way. pause_writing is a protocol callback called from transport when the internal buffer is full. In reaction to this callback the producer should stop calling transport.write() and resume writing after getting `resume_writing()`. Flow control is hard. As I wrote you can take a look at asyncio streams for example how to do it. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-05-21 11:42:28 | asvetlov | set | recipients: + asvetlov, yselivanov, viocal |
| 2019-05-21 11:42:28 | asvetlov | set | messageid: <1558438948.0.0.987449947679.issue36981@roundup.psfhosted.org> |
| 2019-05-21 11:42:27 | asvetlov | link | issue36981 messages |
| 2019-05-21 11:42:27 | asvetlov | create | |