Skip to content

Commit

Permalink
tasks don't need to be public
Browse files Browse the repository at this point in the history
  • Loading branch information
trxcllnt committed Dec 24, 2024
1 parent 5e30116 commit 990ae57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bin/sccache-dist/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ impl ServerService for Server {
on_failure = on_server_run_build_failure,
on_success = on_server_run_build_success,
)]
pub async fn server_run_build(
async fn server_run_build(
task: &Self,
job_id: String,
scheduler_id: String,
Expand Down Expand Up @@ -870,7 +870,7 @@ async fn on_server_run_build_success(task: &server_run_build, result: &BuildResu

// Runs on scheduler to handle heartbeats from servers
#[celery::task]
pub async fn scheduler_server_heartbeat(info: BuildServerInfo) -> TaskResult<()> {
async fn scheduler_server_heartbeat(info: BuildServerInfo) -> TaskResult<()> {
SCHEDULER
.get()
.unwrap()
Expand Down

0 comments on commit 990ae57

Please sign in to comment.