today_ai_weather/config
songtianlun 84c224cf8d feat: add startup scheduling for production
- Schedule RefreshSitemapWorker after initialization
- Implement error handling for scheduling task
- Use Rails cache to prevent multiple tasks running simultaneously

This commit introduces a mechanism that schedules the
RefreshSitemapWorker to run once after the application starts
in production. It ensures that the task does not run
multiple times concurrently by using a cache key.
Error handling is included to log any failures
in scheduling the task, improving overall reliability.
2025-01-25 01:23:04 +08:00
..
environments fix: update Active Job queue adapter to Sidekiq 2025-01-23 00:51:56 +08:00
initializers feat: add startup scheduling for production 2025-01-25 01:23:04 +08:00
locales feat: add countries and regions management 2025-01-21 18:27:26 +08:00
application.rb init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
boot.rb init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
cable.yml init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
cache.yml init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
credentials.yml.enc feat: add batch weather art generation jobs 2025-01-22 16:50:00 +08:00
database.yml init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
deploy.yml init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
environment.rb init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
puma.rb init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
queue.yml init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
recurring.yml init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
routes.rb refactor: change Sidekiq route to admin/tasks 2025-01-23 17:34:45 +08:00
schedule.rb feat: add background job processing with Sidekiq 2025-01-22 17:58:25 +08:00
sidekiq.yml feat: add SEO meta tags and sitemap generation 2025-01-23 19:02:52 +08:00
sitemap.rb fix: update default host in sitemap generator and refresh sitemap on worker 2025-01-23 19:40:08 +08:00
storage.yml chore: update storage configuration for production 2025-01-22 17:26:06 +08:00