Uploading files (images) via ajax multi-uploader (http://github.com/valums/file-uploader). Each uploaded file is saved in temp file. Put temp file name in dict with key of original name. Later every image will be resized in several sizes and saved to s3 storage. The problem is that there’re at least 2 instances of the dict when uploading with excluding file names set, so I get partial dict at the end. How or where can I store the dict to update them from any thread. Tryed global with locking (read somewhere, that globals are accessible from all threads) – doesn’t work.
Uploading files (images) via ajax multi-uploader (http://github.com/valums/file-uploader). Each uploaded file is saved in temp
Share
Used Redis. It’s thread safe.