Fixing timeout issue #60

Merged
mysticmomba merged 1 commits from fix/timeout into master 2026-01-16 16:04:22 -05:00
Owner

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.

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.
mysticmomba added the bug label 2026-01-16 16:04:10 -05:00
mysticmomba self-assigned this 2026-01-16 16:04:10 -05:00
mysticmomba added 1 commit 2026-01-16 16:04:11 -05:00
Fixing timeout issue
Build Library / Build Library (push) Has been cancelled
963aa3bcfb
mysticmomba merged commit 23529f1f94 into master 2026-01-16 16:04:22 -05:00
mysticmomba deleted branch fix/timeout 2026-01-16 16:04:22 -05:00
Sign in to join this conversation.