Skip to content
This repository was archived by the owner on Jun 22, 2021. It is now read-only.

re-introduce throttle checking#13

Open
bvogel wants to merge 27 commits into
Dariusch:masterfrom
BuddyandSelly:master
Open

re-introduce throttle checking#13
bvogel wants to merge 27 commits into
Dariusch:masterfrom
BuddyandSelly:master

Conversation

@bvogel

@bvogel bvogel commented Feb 18, 2020

Copy link
Copy Markdown
Collaborator

No description provided.

owen2345 and others added 27 commits January 2, 2020 10:11
…s low

Avoid "short period write limit reached" request errors
Co-Authored-By: Carlos I. Garcia <charlie.igg@gmail.com>
feat: Add delay to plenty requests when plenty's Short-Period-Decay is low
…ntact-address

fix: fix typo when creating contact address
refactor: adjust namespace for PIM endpoints
Without an explicit timeout, an unresponsive Plenty endpoint blocks the caller indefinitely (the socket never errors, so the built-in retry middleware never fires). Add Config.open_timeout (default 5s) and Config.timeout (default 30s, per page request), applied to the Faraday connection in #perform; both overridable at runtime via the Config writers.

Verified in Ruby 2.7.1 + Faraday 1.1.0 (production parity) via Docker: rspec config_spec + request_spec => 50 examples, 0 failures.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
feat: add configurable HTTP request timeouts
fix: request retry mechanism added to gem
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants