lib/not_relational/storage.rb in cloudwow-not_relational-0.1.0 vs lib/not_relational/storage.rb in cloudwow-not_relational-0.1.2

- old
+ new

@@ -70,11 +70,11 @@ def real_s3_get(bucket,key) if self.memory_only return nil end - 20.times do |i| + 4.times do |i| begin response=real_s3.get(bucket,key) if response and response.http_response.code=='404' return nil end @@ -101,10 +101,10 @@ end def real_s3_put(bucket,key,object,attributes) return if self.memory_only x=nil - 20.times do |i| + 4.times do |i| begin x= real_s3.put(bucket,key,S3::S3Object.new(object),attributes) break \ No newline at end of file