accepting queue size in config