added queue caps to api and server so nothing blows up