Releases: crawlbase/crawlbase-ruby
Releases · crawlbase/crawlbase-ruby
Added configurable timeout for API requests
This release adds support for setting a custom timeout on API requests, which helps avoid unexpected timeouts (see #3).
What's Changed:
- Added
timeoutoption toCrawlbase::APIinitializer. - The timeout sets both open and read timeouts for
Net::HTTP. - Default timeout is
90 seconds, based on Crawlbase’s recommendation. - Added tests to make sure the timeout works as expected.
Let us know if you run into anything.