Message311433
In aiohttp we have HTTP keepalivve support.
A function schedules a delayed callback.
On processing a new request the callback is cancelled and rescheduled to a new time.
I like to check cancellation state (now it is possible with public API) and scheduled time.
I did the check with mocking but proposed method allows to do it easy and more obviously. |
|
Date |
User |
Action |
Args |
2018-02-01 15:09:24 | asvetlov | set | recipients:
+ asvetlov, ned.deily, yselivanov |
2018-02-01 15:09:24 | asvetlov | set | messageid: <1517497764.16.0.467229070634.issue32741@psf.upfronthosting.co.za> |
2018-02-01 15:09:24 | asvetlov | link | issue32741 messages |
2018-02-01 15:09:24 | asvetlov | create | |
|