devicehive-java-server
devicehive-java-server copied to clipboard
Thread pool executor limitation
When there are 20 or more requests that polling commands with waitTimeout ( for example max delay - 60 seconds). Other requests (even with min delay) waiting them. And even are not subscribed for getting commands at that time.
Script to reproduce: https://gist.github.com/YermakovSergiy/1728aec53df80c1640b2