Make queue size configurable.