Clamp window to 1000000
_total_delay should be double, now that Remy is tickless.