siroky/Payola — comment on commit c891a6b557e3d866d045de9773f8c65778d2f528
File: payola/data/src/main/scala/cz/payola/data/Timer.scala line 16
By onashackem:

I know it blocks the thread, but it blocks its own thread that is only for the timer, not for query processing. That is why every query that manager processes has its own timer. So manager will create one thread for every query for every webservice and one thread for timer. Next step i wanted to try to release the sleeping thread in case when all results are returned sooner. I will try other approaches you suggested. But this works :-D