marcel/aws-s3

Rails + aws-s3 : AWS::S3::Base.establish_connection! just once or before every s3 operation ?

letronje opened this issue · 0 comments

In the context of a rails application, is it best to perform an establish_connection! in an initializer ? or is that required before every s3 api call ? Eyeballing the code tells me that I've got to do it just once but just wanted to be sure that I can keep on make s3 calls via this gem without any timeouts/other-issues after one establish_connection! call in the very beginning.