Message346023
When working with queues, it is not uncommon that at some point the producer stops producing data for good, or the consumer stops consuming, for example because a network connection broke down or some user simply closed the session.
In this situation it is very useful to simply cancel all the waiting getters and putters. A simple method can do that, Queue.cancel. |
|
Date |
User |
Action |
Args |
2019-06-19 07:41:48 | Martin.Teichmann | set | recipients:
+ Martin.Teichmann, asvetlov, yselivanov |
2019-06-19 07:41:48 | Martin.Teichmann | set | messageid: <1560930108.51.0.0633177562649.issue37334@roundup.psfhosted.org> |
2019-06-19 07:41:48 | Martin.Teichmann | link | issue37334 messages |
2019-06-19 07:41:48 | Martin.Teichmann | create | |
|