Add a new delay module
jmandel opened this issue · comments
Josh Mandel commented
Internally maintain a cache of access token, request path pairs. Insert an item into the cache when the first request is made and return a 503, setting the cache value to the absolute time at which the request should be allowed to proceed.
config
delay:
lookup: 5 // always apply five second delay when look up is first performed
retrieve: 5