Fixes bug introduced during admin rewrite that broke server creation

This commit is contained in:
Dane Everitt 2017-03-16 21:11:15 -04:00
parent be60299089
commit 4ad09c5435
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 60 additions and 50 deletions

View file

@ -97,8 +97,8 @@ class Node extends Model
{
return new Client([
'base_uri' => sprintf('%s://%s:%s/', $this->scheme, $this->fqdn, $this->daemonListen),
'timeout' => env('GUZZLE_TIMEOUT', 5.0),
'connect_timeout' => env('GUZZLE_CONNECT_TIMEOUT', 3.0),
'timeout' => config('pterodactyl.guzzle.timeout'),
'connect_timeout' => config('pterodactyl.guzzle.connect_timeout'),
'headers' => $headers,
]);
}