更新时间:2023-01-03 12:39:09
只需将requestTimeout放入您的配置。
Just put the requestTimeout to your config.
例如:
new elasticsearch.Client({host:"localhost", requestTimeout : Infinity});
您可以将 Infinity
替换为您所需的限制在'ms'。
You can replace Infinity
by your desired limit in 'ms' .