diff options
| author | Austin Hellyer <[email protected]> | 2016-11-18 09:58:32 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-11-18 10:09:09 -0800 |
| commit | decd8e4eca52c6623499df593f484b4cde861213 (patch) | |
| tree | 81894b43da05ae40bf316cf10b216880e9c0108d /src/utils | |
| parent | Allow Id/u64 equality comparisons (diff) | |
| download | serenity-decd8e4eca52c6623499df593f484b4cde861213.tar.xz serenity-decd8e4eca52c6623499df593f484b4cde861213.zip | |
Ratelimiting: don't attempt to RL for None
Some routes, mostly user-specific ones, do not have ratelimit headers.
So when specifying the `Route::None` variant, do not attempt to treat it
as its own bucket, and instead ignore ratelimiting for it.
Diffstat (limited to 'src/utils')
0 files changed, 0 insertions, 0 deletions