set limit on max events for crab