ee/app/services/geo/base_sync_service.rb
# To prevent the retry time from storing invalid dates in the database,
# cap the max time to a week plus some random jitter value.
To prevent the retry time from storing invalid dates in the database,
cap the max time to a week plus some random jitter value.
To prevent the retry time from storing invalid dates in the database cap the max time to a week plus some random jitter value .
def next_retry_time(retry_count)
      proposed_time = Time.now + delay(retry_count).seconds
      max_future_time = Time.now + 7.days + delay(1).seconds
      [proposed_time, max_future_time].min
    end
def next_retry_time ( retry_count ) proposed_time = Time . now + delay ( retry_count ) . seconds max_future_time = Time . now + 7 . days + delay ( 1 ) . seconds [ proposed_time , max_future_time ] . min end
To prevent the retry time from storing invalid dates in the database,
cap the max time to a week plus some random jitter value.
To prevent the retry time from storing invalid dates in the database cap the max time to a week plus some random jitter value .
retry_count
<not_specific>