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:
James Graham 2015-05-15 15:30:28 +01:00
Родитель 19f9d23854
Коммит bd0b8ab7e1
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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 {