STRML / node-toobusy

Don't let your Node.JS server fall over when it's too busy.
364 stars 36 forks source link

onLag firing threshold #14

Open flentini opened 8 years ago

flentini commented 8 years ago

if the threshold is not specified, the onLag callback is called every 0ms, which I think it's misleading since there's no actual lag. Shouldn't be the default be equal to maxLag?

STRML commented 8 years ago

Yeah, I agree that it should. On Jul 7, 2016 5:41 AM, "Francesco Lentini" notifications@github.com wrote:

if the threshold is not specified, the onLag callback is called every 0ms, which I think it's misleading since there's no actual lag. Shouldn't be the default be equal to maxLag?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/STRML/node-toobusy/issues/14, or mute the thread https://github.com/notifications/unsubscribe/ABJFPy9olnjtWEJiD5KORgO05LZsNRklks5qTNfsgaJpZM4JG9GV .