request_timeout not used in HttpFetcher

Created on 5 July 2023, over 1 year ago
Updated 6 August 2023, over 1 year ago

Problem/Motivation

No matter how high I set the request_timeout, I am always met with "...cURL error 28: Operation timed out after 30001 milliseconds with 0 bytes received..."

Looks to be that `$options = [RequestOptions::SINK => $sink];` does not add the timeout for the call.

Using a custom fetcher, I have resolved for now by updating to

$options = [
  RequestOptions::SINK => $sink,
  'timeout' => $this->configuration['request_timeout'],
];
🐛 Bug report
Status

Fixed

Component

Code

Created by

🇨🇦Canada nicole.harnish Halifax

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024