We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c82efc commit f10dd0bCopy full SHA for f10dd0b
invenio.cfg
@@ -470,6 +470,9 @@ from zenodo_rdm.stats.proxies import current_stats_search_client
470
471
for _agg in STATS_AGGREGATIONS.values():
472
_agg.setdefault("params", {})["client"] = current_stats_search_client
473
+ # NOTE: Originally was 10_000, but when under heavy load, this can cause timeouts
474
+ # and aggregations processing getting stuck.
475
+ _agg.setdefault("params", {})["max_bucket_size"] = 5_000
476
477
INDEXER_MQ_PUBLISH_KWARGS = {
478
"retry": True,
0 commit comments