AllenNeuralDynamics / AllenNeuralDynamics/aind-data-access-api

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

未關閉
#214 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
3
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

**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

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。