RediSearch / RediSearchBenchmark

Benchmarks for the RediSearch module
https://redisearch.io
BSD 3-Clause "New" or "Revised" License
44 stars 7 forks source link

Fix duration setting bug #3

Open junhe opened 7 years ago

junhe commented 7 years ago

Before this fix, duration was always 5 seconds, regardless of the setting of '-duration'. The reason was that duration calculation was placed BEFORE flag.Parse().