add limit for refork times in certain duration

it should be that, must limit the array length.
If array.length > limit, just need to check the span.