Skip to content

Commit

Permalink
timeout default time 60s
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouaini528 committed Jul 8, 2019
1 parent 3a68e29 commit 844935e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Request

protected $data=[];

protected $timeout=10;
protected $timeout=60;

protected $proxy=false;

Expand All @@ -42,6 +42,8 @@ public function __construct(array $data)
$this->secret=$data['secret'] ?? '';
$this->passphrase = $data['passphrase'] ?? '';
$this->host=$data['host'] ?? 'https://www.okex.com/';

$this->timeout=$data['timeout'] ?? 60;
}

/**
Expand Down

0 comments on commit 844935e

Please sign in to comment.