Skip to content

Commit

Permalink
Increase the timeout for sparse-profile-size
Browse files Browse the repository at this point in the history
Summary:
There is absolutely no way sparse-profile-size can finish in a minute; looking at Scuba, 10-20 minutes is not uncommon.

I'll follow up on this furher to make it a command-line flag we can reuse across commands; in the mean time, keep this simple and stupid.

Reviewed By: RajivTS

Differential Revision: D67236098

fbshipit-source-id: 5f3b3af24f8bb1e2ce93c82fe12f97d0f5307878
  • Loading branch information
andreacampi authored and facebook-github-bot committed Dec 30, 2024
1 parent 5fc7ff5 commit 9460b95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pub(super) async fn run(app: ScscApp, args: CommandArgs) -> Result<()> {

let now = std::time::Instant::now();
let response = loop {
if now.elapsed() > std::time::Duration::from_secs(10) {
if now.elapsed() > std::time::Duration::from_secs(600) {
return Err(anyhow::anyhow!("request timed out"));
}

Expand Down

0 comments on commit 9460b95

Please sign in to comment.