Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit 44feb1a

Browse files
committed
Merge pull request #198 from jameshd/correct-timeout-typo
Correct timeout typo
2 parents 94ec250 + f76e0c5 commit 44feb1a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/remote/HttpCommandExecutor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ public function __construct($url) {
134134
'Accept: application/json',
135135
)
136136
);
137-
$this->setRequestTimeout(300000);
138-
$this->setConnectionTimeout(300000);
137+
$this->setRequestTimeout(30000);
138+
$this->setConnectionTimeout(30000);
139139
}
140140

141141
/**

lib/remote/RemoteWebDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ public function getSessionID() {
467467
*/
468468
public static function getAllSessions(
469469
$url = 'http://localhost:4444/wd/hub',
470-
$timeout_in_ms = 300000
470+
$timeout_in_ms = 30000
471471
) {
472472
$executor = new HttpCommandExecutor($url);
473473
$executor->setConnectionTimeout($timeout_in_ms);

0 commit comments

Comments
 (0)