GET /timeseries/:timeseries_id/measurements hangs without before and after query parameters, the search will default to the past week. If there are haven’t been any records for that timeseries in while, a request for a “computed” timeseries can take a long time to complete and eventually time out.
Expected behavior
Request should not return data if there is none in range.
Actual behavior
Request hangs indefinitely.
Temporary Workaround
For now, please supply “before” and “after” timestamps to the endpoint for the time range of data requested.
Describe the bug
GET
/timeseries/:timeseries_id/measurements
hangs withoutbefore
andafter
query parameters, the search will default to the past week. If there are haven’t been any records for that timeseries in while, a request for a “computed” timeseries can take a long time to complete and eventually time out.Expected behavior
Request should not return data if there is none in range.
Actual behavior
Request hangs indefinitely.
Temporary Workaround
For now, please supply “before” and “after” timestamps to the endpoint for the time range of data requested.