nassim-git / project-voldemort

Automatically exported from code.google.com/p/project-voldemort
Apache License 2.0
0 stars 0 forks source link

ResourcePoolConfig.getTimeout(TimeUnit) bug #343

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. always, when the parameter is not nanosecond
2.
3.

    public long getTimeout(TimeUnit unit) {
        return unit.convert(timeoutNs, unit);
    }
this method can't be right~~

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
src from master branch

Please provide any additional information below.

Original issue reported on code.google.com by panxiaoz...@gmail.com on 8 Apr 2011 at 3:08

GoogleCodeExporter commented 9 years ago
Great catch. Pushed the fix to my branch. Will merge it into trunk soon. Thanks!

https://github.com/rsumbaly/voldemort/commit/8f3109cced66f955d0d2cdf7bc382c183c6
a6689

Original comment by rsumb...@gmail.com on 11 Apr 2011 at 4:58