Throttle wrongly treated as seconds instead of 100th of seconds?

Am I missing the reason why the value of @throttle is documented and
at one point treated as hundreths of seconds, but at other points
treated as full seconds? If this is just a bug then I propose the
attached fix (tests still pass, but no test added explicitely for the
fix).

Til

@throttle is supposed to be hundreds of seconds, but the docs might be
out of date, because @throttle used to be called @timeout, and
@timeout itself is new.

If you still think it’s a bug please file a ticket on Rubyforge.

Evan

@throttle is supposed to be hundreds of seconds, but the docs might be
out of date, because @throttle used to be called @timeout, and
@timeout itself is new.

The docs about @throttle are right, just in 2 places in the code
@throttle is wrongly used as seconds. This bug was also there before
the introduction of @timeout.

If you still think it’s a bug please file a ticket on Rubyforge.

Will do.

Til

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs