AllenNeuralDynamics / AllenNeuralDynamics/aind-data-access-api
Occasional slow responses from aind-data-access-api[docdb] via Python
- Linguagem predominante
- Python
- Estrelas
- 3
- Forks
- 0
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
**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
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.