farcrycore / core

FarCry Core: a web app framework for the ColdFusion language (supporting Lucee & Adobe ColdFusion engines). An ideal platform for building bespoke or tailor made solutions.
http://www.farcrycore.org
GNU General Public License v3.0
34 stars 20 forks source link

FC-3171 - S3 addCachedFile() not thread safe #92

Closed webonix closed 5 years ago

webonix commented 5 years ago

error thrown if ti threads try and delete cache at the same time

Message : the value from key [/images/image.jpg] is NULL, which is the same as not existing in CFML

Also, oldest file may not actually be deleted; deletes the last old file it loops through