- Add logging to track the generation of weather art for each city. - Refactor image attachment process to streamline the code by removing the separate method for attaching images. - Ensure proper handling of the temporary file used for image processing. These changes improve observability during the weather art generation process and encapsulate the image attachment logic within the primary method, reducing the overhead of a method call. The adjustments also ensure that temporary files are managed correctly to prevent resource leaks. |
||
---|---|---|
.. | ||
batch_generate_weather_arts_worker.rb | ||
generate_weather_art_worker.rb | ||
refresh_sitemap_worker.rb |