Made the throttling to be configurable.