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 a56d6cf commit 2e420d6
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 @@ -29,7 +29,7 @@ class Request

protected $data=[];

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

protected $proxy=false;

Expand All @@ -38,6 +38,8 @@ public function __construct(array $data)
$this->key=$data['key'] ?? '';
$this->secret=$data['secret'] ?? '';
$this->host=$data['host'] ?? 'https://api.binance.com';

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

/**
Expand Down

0 comments on commit 2e420d6

Please sign in to comment.