today_ai_weather/app
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
..
admin feat: add batch weather art generation jobs 2025-01-22 16:50:00 +08:00
assets init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
concerns style: format code for consistency 2025-01-23 19:03:14 +08:00
controllers feat: add SEO meta tags and sitemap generation 2025-01-23 19:02:52 +08:00
helpers feat: add SEO meta tags and sitemap generation 2025-01-23 19:02:52 +08:00
javascript feat: add font styling and enhance city views 2025-01-20 18:02:28 +08:00
jobs refactor: clean up ai_service code formatting 2025-01-22 16:50:21 +08:00
mailers init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
models refactor: clean up city model and adjust worker timing 2025-01-23 23:59:48 +08:00
services fix: update Dockerfile and weather service configuration 2025-01-22 17:07:04 +08:00
views feat: add Google Analytics tracking code 2025-01-23 19:49:59 +08:00
workers refactor: clean up city model and adjust worker timing 2025-01-23 23:59:48 +08:00