Fixing timeout issue #60
Reference in New Issue
Block a user
Delete Branch "fix/timeout"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
An issue was identified in Airlock’s API request handling and pagination logic. Airlock APIs were designed to return responses only under one of two conditions: (1) a full page containing 10,000 records, or (2) a terminal response indicating that no additional data remained.
For long-running queries spanning large time ranges, the Airlock server could exceed the client-side timeout configured in the Airlock library while aggregating the result set. When this occurred, the client library would time out and terminate the request prematurely, despite additional data being available. Because the response had not yet reached the 10,000-record threshold and did not represent the end of the dataset, the API did not return a partial result, resulting in data loss for that request.