Change max_latency units to msecs.  Add it into several configs. #926