2f70a61d

By: Michael Lynch <git@mtlynch.io>

Use generic keyed rate limiter

Replace the email-auth conflict resolution with the master sliding-window rate limiter shape while keeping user IDs at the Allow callsite for email-based auth.

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 0s 2s 2s 3s 0s
Eval 3s 1m10s 1m10s 1m13s 0s
Build 6s 7m00s 1m41s 1m47s 0s
Suite 0s 8m13s 1m46s 1m47s 0s

Timeline

0s10s20s30s40s50s1m1m10s1m20s1m30s1m40s