AllenNeuralDynamics / AllenNeuralDynamics/aind-data-access-api

Occasional slow responses from aind-data-access-api[docdb] via Python

Đang mở
#214 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
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á.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.