Skip to content

"timeout value is negative" #1

Closed
tomjack opened this Issue Nov 2, 2012 · 1 comment

2 participants

@tomjack
tomjack commented Nov 2, 2012

I'm getting errors like this:

Exception in thread "Thread-848" java.lang.IllegalArgumentException: timeout value is negative
        at java.lang.Thread.sleep(Native Method)
        at rate_gate.core$rate_gate$fn__5266.invoke(core.clj:60)
        at clojure.lang.AFn.run(AFn.java:24)
        at java.lang.Thread.run(Thread.java:679)

Haven't investigated why this is happening yet, but using (max 0 delay) on line 60 seems to fix it.

@jkk jkk added a commit that closed this issue Nov 2, 2012
@jkk fixes #1 2648ac1
@jkk jkk closed this in 2648ac1 Nov 2, 2012
@jkk
Owner
jkk commented Nov 2, 2012

Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.