today_ai_weather/app/workers
songtianlun 06a861c639 refactor: clean up city model and adjust worker timing
- Implement caching methods for last weather fetch and image generation
- Adjust sleep duration in BatchGenerateWeatherArtsWorker from 10 seconds to 3 seconds
- Remove unused fields `last_weather_fetch` and `last_image_generation` from the cities table
- Add index on the weather_arts table for optimized querying

This refactor improves data retrieval performance for weather data
associated with cities. Caching reduces database load while the
worker modification allows for faster iterations in generating
weather arts without significantly impacting performance.
2025-01-23 23:59:48 +08:00
..
batch_generate_weather_arts_worker.rb refactor: clean up city model and adjust worker timing 2025-01-23 23:59:48 +08:00
generate_weather_art_worker.rb feat: add SEO meta tags and sitemap generation 2025-01-23 19:02:52 +08:00
refresh_sitemap_worker.rb fix: update default host in sitemap generator and refresh sitemap on worker 2025-01-23 19:40:08 +08:00