browse-everything icon indicating copy to clipboard operation
browse-everything copied to clipboard

Make `expires` times configurable

Open no-reply opened this issue 6 years ago • 2 comments

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).

no-reply avatar Apr 05 '18 15:04 no-reply

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).

jrgriffiniii avatar Apr 05 '18 15:04 jrgriffiniii

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.

mbklein avatar May 10 '18 17:05 mbklein