EarthScope / ringserver

Apache License 2.0
30 stars 17 forks source link

TimeWindowLimit parameter not working #2

Closed chad-earthscope closed 7 years ago

chad-earthscope commented 7 years ago

Setting the TimeWindowLimit parameter in the configuration file to anything but 100 results in no positioning in the buffer.

In the code searching the whole buffer, aka TimeWindowLimit 100, is done with RingAfter(), where as setting the parameter to anything less than 100 is done with RingAfterRev().

chad-earthscope commented 7 years ago

Addressed in b7ea075cc0f78089cf330463ce913ccc29449589

Fix was to correct the flawed logic in RingAfterRev()