add the function set max concurent queue

as title