pa11y / pa11y-ci

Pa11y CI is a CI-centric accessibility test runner, built using Pa11y
https://pa11y.org
GNU Lesser General Public License v3.0
509 stars 62 forks source link

Rate Limiting Option #210

Closed guygastineau closed 10 months ago

guygastineau commented 10 months ago

Is there a rate limiting option? A vendor just implemented automatic rate limiting middleware for their servers, and an accessibility report we generate (using pa11y-ci to fetch all the errors) fails to get a lot of pages due to accessing pages too rapidly. I was hoping to find a rate limiting option for the config, but I couldn't find it in the docs.

guygastineau commented 10 months ago

Hmm, I found the wait option in the main pa11y source. I'm going to try that as a rate limiting hack.

guygastineau commented 10 months ago

Using the wait option in the config worked for mu use case. It could be nice for other users if it were given as an example of rate limiting, but I think I can close this issue, as the title is not explicitly about documentation.