Skip to content

Conversation

@augustinasrce
Copy link
Contributor

@augustinasrce augustinasrce commented Jul 29, 2025

This PR

By default faraday uses net::http which on each request opens new socket and does all the handshaking every time. Persistent adapter keeps connection alive for defined amount of time (30s).

fix for def initialize(options: {}) since it was incorrect on default behaviour, it is expected to get Options object not hash.

Follow-up Tasks

With later PR's I could make this configurable.

@augustinasrce augustinasrce force-pushed the feature/connection-persistance branch from a07963b to ae017f1 Compare July 29, 2025 13:44
Signed-off-by: Augustinas Sueris <augustinas.sueris@vinted.com>
Signed-off-by: Augustinas Sueris <augustinas.sueris@vinted.com>
Signed-off-by: Augustinas Sueris <augustinas.sueris@vinted.com>
Signed-off-by: Augustinas Sueris <augustinas.sueris@vinted.com>
@augustinasrce augustinasrce force-pushed the feature/connection-persistance branch from 24f627c to 8308617 Compare July 29, 2025 13:47
Signed-off-by: Augustinas Sueris <augustinas.sueris@vinted.com>
Copy link
Contributor

@maxveldink maxveldink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Main reason for the request changes is the customer header passing in the initializer; few other questions for you!

augustinasrce and others added 4 commits July 30, 2025 14:58
…e/go-feature-flag/goff_api.rb

Co-authored-by: Max VelDink <maxveldink@gmail.com>
Signed-off-by: Augustinas <augustinas.sueris@gmail.com>
…/go-feature-flag/goff_api.rb

Co-authored-by: Max VelDink <maxveldink@gmail.com>
Signed-off-by: Augustinas <augustinas.sueris@gmail.com>
Signed-off-by: Augustinas <augustinas.sueris@gmail.com>
added rspec examples to gitignore

Signed-off-by: Augustinas <augustinas.sueris@gmail.com>
@augustinasrce augustinasrce requested a review from maxveldink July 30, 2025 12:07
Copy link
Member

@thomaspoignant thomaspoignant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That sounds good to me 👌

@thomaspoignant thomaspoignant merged commit 3a01a5e into open-feature:main Jul 30, 2025
14 checks passed
thomaspoignant pushed a commit that referenced this pull request Jul 30, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.1.4](openfeature-go-feature-flag-provider/v0.1.3...openfeature-go-feature-flag-provider/v0.1.4)
(2025-07-30)


### ✨ New Features

* connection persistance
([#59](#59))
([3a01a5e](3a01a5e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Signed-off-by: OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com>
@augustinasrce augustinasrce deleted the feature/connection-persistance branch July 31, 2025 06:07
Zaimwa9 pushed a commit to Zaimwa9/ruby-sdk-contrib that referenced this pull request Nov 26, 2025
<!-- Please use this template for your pull request. -->
<!-- Please use the sections that you need and delete other sections -->

## This PR
By default faraday uses net::http which on each request opens new socket
and does all the handshaking every time. Persistent adapter keeps
connection alive for defined amount of time (30s).

fix for `def initialize(options: {})` since it was incorrect on default
behaviour, it is expected to get Options object not hash.

### Follow-up Tasks
With later PR's I could make this configurable.

---------

Signed-off-by: Augustinas Sueris <augustinas.sueris@vinted.com>
Signed-off-by: Augustinas <augustinas.sueris@gmail.com>
Co-authored-by: Max VelDink <maxveldink@gmail.com>
Signed-off-by: wadii <wadii.zaim@flagsmith.com>
Zaimwa9 pushed a commit to Zaimwa9/ruby-sdk-contrib that referenced this pull request Nov 26, 2025
…-feature#60)

🤖 I have created a release *beep* *boop*
---

##
[0.1.4](open-feature/ruby-sdk-contrib@openfeature-go-feature-flag-provider/v0.1.3...openfeature-go-feature-flag-provider/v0.1.4)
(2025-07-30)

### ✨ New Features

* connection persistance
([open-feature#59](open-feature#59))
([3a01a5e](open-feature@3a01a5e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Signed-off-by: OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com>
Signed-off-by: wadii <wadii.zaim@flagsmith.com>
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.

3 participants