Rate Limit uploads (e.g. X Uploads per Minute)


I’m using the Uppy Dashboard and XHR in a Rails app that has a rate limit of x req/min enforced by RackAttack and returns HTTP Status 429 when the rate limit is reached.

I want the user to be able to drop up to 500 images into the Dashboard which causes some users to reach the rate limit when the files are small enough.

What is the best way to make sure the uploads per minute stay below the rate limit. AFAIK the restriction options do not include this scenario.