limit the size of pending queues
Merge branch 'master' of github.com:Determinant/piztor