Skip to content

Commit

Permalink
Update timeout message
Browse files Browse the repository at this point in the history
  • Loading branch information
LPGhatguy committed Apr 10, 2020
1 parent aa6f4a4 commit 22f6c2d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/place_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@ impl PlaceRunner {
);

let first_message = message_receiver
.recv_timeout(Duration::from_secs(20))
.ok_or_else(|| anyhow!("Timeout reached"))?;
.recv_timeout(Duration::from_secs(60))
.ok_or_else(|| {
anyhow!("Timeout reached while waiting for Roblox Studio to come online")
})?;

match first_message {
Message::Start => {}
Expand Down

0 comments on commit 22f6c2d

Please sign in to comment.