Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting transport connection persistency #1496

Merged
merged 1 commit into from Feb 5, 2019
Merged

Allow setting transport connection persistency #1496

merged 1 commit into from Feb 5, 2019

Conversation

damijank
Copy link
Contributor

@damijank damijank commented Feb 4, 2019

ES services, especially the managed ones (like Azure's), tend to break a connection if it's idle long enough. This PR introduces a configuration setting to be propagated through to the transport layer setup, allowing to use a non-persistent connection (the implicit default there is a persistent connection).

@XWB XWB merged commit ae6fa19 into FriendsOfSymfony:master Feb 5, 2019
@XWB
Copy link
Member

XWB commented Feb 5, 2019

Thanks :)

@damijank damijank deleted the patch-1 branch February 6, 2019 01:51
@damijank
Copy link
Contributor Author

damijank commented Feb 6, 2019

No problem @XWB

What are your plans for a new release? Do these 60+ new commits on master contain any breaking changes in regards to 5.0.3 (the latest release which is a year old)?

@XWB
Copy link
Member

XWB commented Feb 8, 2019

@damijank The next release should be 6.0 as there are some BC breaks in master. This will also allow us to refactor the configuration (for example, multiple types within an index are deprecated since Elasticsearch 6).

@damijank
Copy link
Contributor Author

@XWB too bad 😞 So for the time being we have to (and already have) override this... we're using this in a long-running process (a RMQ worker) and with a persistent connection every so often this raises an exception.
We'll be looking out for the new release. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants