songtianlun
40631fe95b
- Change the condition to prevent sitemap refresh in production when `RAILS_BUILD` is set. - Ensures that the task only runs in development or non-production environments, avoiding potential conflicts or wasted resources. This change helps to streamline the initialization process and enhances performance by not triggering unnecessary background tasks. |
||
---|---|---|
.. | ||
active_admin.rb | ||
assets.rb | ||
content_security_policy.rb | ||
devise.rb | ||
filter_parameter_logging.rb | ||
friendly_id.rb | ||
inflections.rb | ||
kaminari_config.rb | ||
meta_tags.rb | ||
schedule_tasks.rb | ||
sidekiq.rb |