Skip to content

Commit

Permalink
megarepo_async_requests_worker -> async_requests_worker in tests
Browse files Browse the repository at this point in the history
Summary:
## This stack

Final cleanup now that the "new" worker (aka mononoke/sync_requests_worker) is in production and the old one (aka mononoke/megarepo_async_requests_worker) has been shut down.

## This diff

We are using a hardcoded string to represent the worker when not running in TW, i.e. for tests. Update that.

Reviewed By: YousefSalama

Differential Revision: D65531202

fbshipit-source-id: 08d99310e10f91cd45dda37f79508592a9f7d761
  • Loading branch information
andreacampi authored and facebook-github-bot committed Nov 6, 2024
1 parent f6b6591 commit 0e51068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eden/mononoke/async_requests/worker/src/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl AsyncMethodRequestWorker {
format!("{}/{}/{}", tw_job_cluster, tw_job_name, tw_task_id)
}
_ => format!(
"megarepo_async_requests_worker/{}",
"async_requests_worker/{}",
get_hostname().unwrap_or_else(|_| "unknown_hostname".to_string())
),
}
Expand Down

0 comments on commit 0e51068

Please sign in to comment.