Skip to content

Conversation

fellmirr
Copy link

@fellmirr fellmirr commented Oct 2, 2025

⚠️ Pending clarification on CLA process by Railslove, sent an email

Add configurable timeout support

Some EBICS servers can be slow to respond, especially during batch processing or peak hours. This provides a clean way to configure timeouts without monkey-patching the connection method.

Adds optional timeout and open_timeout parameters to handle slow bank servers and unreliable network conditions.

  • Passes values directly to Faraday's request options when specified
  • Defaults to nil to maintain backward compatibility and use Faraday's defaults
  • No new dependencies or breaking changes

Usage

client = Epics::Client.new(
  keys, passphrase, url, host, user, partner,
  timeout: 120,      # Request timeout in seconds (optional)
  open_timeout: 30   # Connection timeout in seconds (optional)
)

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Håkon Harnes seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

2 participants