зеркало из https://github.com/mozilla/gecko-dev.git
geckodriver: Poll for a connection every 100ms rather than 100s…
Source-Repo: https://github.com/mozilla/geckodriver Source-Revision: 45b5591d3a1d1d36bb30754d61b588f781e957b6 --HG-- extra : rebase_source : 5fde29b95c1724f564e8b7fe00959347fcb2c3bf
This commit is contained in:
Родитель
19f9d23854
Коммит
bd0b8ab7e1
|
@ -578,7 +578,7 @@ impl MarionetteConnection {
|
|||
|
||||
pub fn connect(&mut self) -> IoResult<()> {
|
||||
let timeout = 60 * 1000; // milliseconds
|
||||
let poll_interval = 100 * 1000; // milliseconds
|
||||
let poll_interval = 100; // milliseconds
|
||||
let poll_attempts = timeout / poll_interval;
|
||||
let mut poll_attempt = 0;
|
||||
loop {
|
||||
|
|
Загрузка…
Ссылка в новой задаче