commit throttle code