1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/local/models/storage
Jamie Paton 4ffca659cc Don't read entire file into memory when saving to local blob storage. (local files)
We are using the local blobstore as a backend for concurrent uploads and
observed that memory was leaking quite quickly as GC cannot keep up.

So here, when the dest, src are  both local files, instead of calling
File.read, simply copy the file.
2014-02-24 14:15:25 -08:00
..
directories.rb Also call #load in case of missing local root folder. 2013-11-02 11:05:21 +01:00
directory.rb [local|storage] Updates reference to service 2013-01-07 21:01:16 +00:00
file.rb Don't read entire file into memory when saving to local blob storage. (local files) 2014-02-24 14:15:25 -08:00
files.rb Chdir in a block to dry up all method 2013-05-27 16:07:26 +01:00