throttle icon indicating copy to clipboard operation
throttle copied to clipboard

Negative LeftToReset value

Open olegmareskin opened this issue 4 years ago • 0 comments

Issue occurs when using throttle_mnesia driver for distributed rate-limit on two nodes:

(portal@portal-qa)27> throttle:check(order, {ip4_address,{127, 0, 0, 1}}).    
{limit_exceeded,0,-18221472}
(portal@portal-qa)28> throttle:check(order, {ip4_address,{127, 0, 0, 1}}).
{limit_exceeded,0,-18222295}
(portal@portal-qa)29> throttle:check(order, {ip4_address,{127, 0, 0, 1}}).
{limit_exceeded,0,-18222951}

Results in cowboy_rest:rate_limited crash with 500.

olegmareskin avatar Jun 09 '21 10:06 olegmareskin