markevans / dragonfly-s3_data_store

S3 data store for the Dragonfly ruby gem
MIT License
62 stars 58 forks source link

add option to disable sync_clock calls #35

Open duckworth opened 2 years ago

duckworth commented 2 years ago

Add option to disable sync_clock calls:

  1. The sync_clock method calls get_service which does a ListBuckets operation. If the IAM user does not have permissions to ListBuckets (as I assume would be common when granting bucket specific permissions to the credentials used for fog) it generates a ton of http 403's with AccessDenied (which can get logged in AWS Cloudtrail).
  2. This is unnecessary overhead if the server's clocks are already synchronized