_docker/lib/export/httrack_export_strategy.rb
#
# Determines the maximum number of times we will update the httrack export cache.
# Returns the default value of 750 unless the user has set the env variable 'drupal.export.max_cache_updates'
#
Determines the maximum number of times we will update the httrack export cache.
Returns the default value of 750 unless the user has set the env variable 'drupal.export.max_cache_updates'
Determines the maximum number of times we will update the httrack export cache . Returns the default value of 750 unless the user has set the env variable ' drupal . export . max_cache_updates '
def max_httrack_cache_updates
    user_setting = ENV['drupal.export.max_cache_updates']
    return 750 if user_setting.nil? || user_setting.empty?
    user_setting.to_i > 0 ? user_setting.to_i : 1
  end
def max_httrack_cache_updates user_setting = ENV [ 'drupal.export.max_cache_updates' ] return 750 if user_setting . nil? || user_setting . empty? user_setting . to_i > 0 ? user_setting . to_i : 1 end
Determines the maximum number of times we will update the httrack export cache.
Determines the maximum number of times we will update the httrack export cache .