Skip to content

Commit 0e565a1

Browse files
Change default http request timeout 2 seconds
1 parent b5b3945 commit 0e565a1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ApiBase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ abstract class ApiBase extends Component
5050
/**
5151
* @var int set timeout to 15 seconds for the case server is not responding
5252
*/
53-
public $timeout = 30;
53+
public $timeout = 2;
5454

5555
/**
5656
* @var bool

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
CHANGELOG
22
==============
33

4+
1.0.0-rc
5+
-----------------
6+
* Change default http request timeout 2 seconds
7+
48
1.0.0-beta
59
-----------------
610
* Добавлен заказ в 1 клик

0 commit comments

Comments
 (0)