terrycojones / txrdq

txRDQ (Resizable Dispatch Queue) provides a Twisted class for a controllable priority queue for running jobs.
Apache License 2.0
17 stars 4 forks source link

how to use it for multiple data sources and apply rate limits #6

Open anekix opened 7 years ago

anekix commented 7 years ago

I am using it collect data from multiple sources say twitter and google both have different rate limits. how can i specify that. is it possible using this?

terrycojones commented 7 years ago

Hi. I'm glad the code is useful to you. Offhand I don't see a simple way to do this (and the txrdq code is already too complicated). Can you just have two instances of ResizableDispatchQueue?