Added {max_items, 10000} for processing queue, tiny improvements