Opened 2 years ago

Closed 2 years ago

#3125 closed New feature (fixed)

Request timeout should be configurable in PiwikTracker.php

Reported by: andornaut Owned by:
Priority: normal Milestone: Piwik 1.8
Component: Core Keywords:
Cc: Sensitive: no

Description

The PiwikTracker.php sendRequest() method has a http request timeout of 600 seconds. This isn't ideal for many use cases, so it'd be great to see support for a configurable timeout.

Change History (3)

comment:1 Changed 2 years ago by matt (mattab)

  • Milestone changed from Feature requests to 1.7.x - Piwik 1.7.2

comment:2 Changed 2 years ago by matt (mattab)

  • Milestone changed from 1.7.x - Piwik 1.7.x to 1.7.2 - Piwik 1.7.2

comment:3 Changed 2 years ago by capedfuzz (diosmosis)

  • Resolution set to fixed
  • Status changed from new to closed

(In [6279]) Fixes #3125, made formerly hardcoded timeout value configurable in PiwikTracker. Can be set via a setter.

Note: See TracTickets for help on using tickets.