marcel / aws-s3

AWS-S3 is a Ruby implementation of Amazon's S3 REST API
http://amazon.rubyforge.org
MIT License
774 stars 461 forks source link

Update docs to encourage people to *close* their file handles #97

Open sshaw opened 10 years ago

sshaw commented 10 years ago

I've come across several cases where people were using this library like this:

S3Object.store(file, open(file), 'jukebox')

These were all in long-running processes, sadly.

My conclusion to this madness is that people are copying and pasting what is the README and modifying it to suite their needs. These changes update the README to give them something to copy and paste that won't result in EMFILE, ENFILE, or something else.