browse-everything
browse-everything copied to clipboard
Make `expires` times configurable
For Box and Google Drive, we set expires
as a hard coded 1.hours.from_now
. This seems like a reasonable default, but we're finding in production that with multiple large files in a queue, we occasionally exceed this link expiry time and end up with errors.
Ideally, timeout would be configurable (perhaps on a per-driver basis).
I can investigate this for Google Drive, but I may need some assistance for the Box provider (I don't believe that anyone at my organization has experience or an account).
I don't think box allows you to specify an expiration time via the API. The one being reported out is just a placeholder for a saner solution.