You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently our config function uses a very particular object mapping.
Would it be better to assume the object coming in is the "elasticsearch" friendly object and then we map it to the desired config settings or use defaults that we want to see used.
I got to this because I wanted to make "client" close. To achieve this I manually added the property "maxKeepAliveRequests".
client = new elasticsearch.Client({
host: config.db.url,
maxKeepAliveRequests: 1
});
The text was updated successfully, but these errors were encountered:
Currently our config function uses a very particular object mapping.
Would it be better to assume the object coming in is the "elasticsearch" friendly object and then we map it to the desired config settings or use defaults that we want to see used.
I got to this because I wanted to make "client" close. To achieve this I manually added the property "maxKeepAliveRequests".
The text was updated successfully, but these errors were encountered: