Commit c6aa2dc7 by lanrion

clear last one day cache

parent 43f17951
......@@ -37,7 +37,7 @@ module WeixinAuthorize
uploader.cache!(media_file)
end
file = process_media(uploader)
# CarrierWave.clean_cached_files!(10)
CarrierWave.clean_cached_files! # clear last one day cache
file
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment