AllenNeuralDynamics / AllenNeuralDynamics/aind-data-access-api
Occasional slow responses from aind-data-access-api[docdb] via Python
- Ngôn ngữ chính
- Python
- Star
- 3
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
**Describe the bug**
I have code that runs an "all IDs" query through Python that is occasionally hanging for several minutes before executing. Running the identical query via the REST API as a URL executes immediately. In Python the code is:
```
all_records = client.retrieve_docdb_records(
filter_query={},
projection={"_id": 1},
limit=0,
)
```
When running normally this returns within a few seconds at most. I would say sporadically, maybe very hour or so today, it's taken ~5 minutes before running. I'm not sure why this would run differently in python vs as a URL.
**Additional context**
Forwarded this bug report from Teams
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.