limit queue sizes