SweetBlue icon indicating copy to clipboard operation
SweetBlue copied to clipboard

Do something about potential queue flooding.

Open dougkoellmer opened this issue 11 years ago • 1 comments

One can potentially flood the queue, putting tasks onto it faster than the queue can process them. Perhaps have enumerations for read/write/connect-fail callbacks indicating such a scenario, like if the queue has more than 100 tasks backed up. Actually maybe just for the read/write callback.

dougkoellmer avatar Jan 28 '15 14:01 dougkoellmer

Or maybe give some controls to developers to let them "clean" or to "empty" the queue when they need to so?

Or maybe give them the possibility to assign a kind of priority to some tasks like "High", "Medium", "Low" so some urgents tasks (like characteristic write) may be pushed to the top of the list to be executed?

c10h22 avatar Dec 30 '15 01:12 c10h22