EarthScope / ringserver

Apache License 2.0
30 stars 17 forks source link

Time window SeedLink request in the future delivers current data #3

Closed chad-earthscope closed 6 years ago

chad-earthscope commented 7 years ago

A SeedLink time window request that starts in the future is accepted and then the next arriving/available data is sent to the client. Unlike the end time criteria, the start time criteria is not used to filter data out of the request, but only to set the initial buffer position.

Possible solutions:

  1. Do not accept future time window requests, return an error when submitted
  2. Filter the data on the start time criteria

Leaning towards the first solution as I cannot think of legitimate use cases for future time window requests and it's easier and cleaner to implement.

chad-earthscope commented 6 years ago

Chosen solution (for now) is to disallow start times in the future and return an error to the client when they occur.