Conversation
Throw an error if `options.connection` is defined. Retain the `options` for subsequent calls to `r.connect` when trying to reconnect. The following options were not being used in reconnections: - username - password - pingInterval - timeout - ssl
|
Left a few comments, it seems reasonable beside that |
|
@neumino I can't find where you left the comments 😅 |
|
@aleclarson I think he meant that you comment a little before the merge can happen. Also, I noticed that there is a lot more options than the one being passed, like tls and connection pools, shouldn't we add those or it will reconnect with those settings by it's own? |
|
@Extarys Not much to add comments to, it's just 3 changes and 1 addition. And there are already 2 comments. The connection pool manages each connection. The connection has no knowledge of belonging to a connection pool. Thus, no pool-specific options exist in this context. As for TLS, that configuration is done using the |
|
@aleclarson That's why I wasn't sure if it was needed. I mean you guys are the pros I'm just a guy using the software :P |
Throw an error if
options.connectionis defined.Retain the
optionsfor subsequent calls tor.connectwhen trying to reconnect.The following options were not being used in reconnections: