Overhaul runner protocol
The JSON should now be nicer to work with.
This commit is contained in:
parent
b16b3a668e
commit
7911a67906
4 changed files with 42 additions and 25 deletions
|
|
@ -67,7 +67,7 @@ async fn post_status(
|
|||
// Find new work
|
||||
let work = if let Some(hash) = work {
|
||||
let bench = match bench_repo {
|
||||
Some(bench_repo) => BenchMethod::BenchRepo {
|
||||
Some(bench_repo) => BenchMethod::Repo {
|
||||
hash: bench_repo.0.to_thread_local().head_id()?.to_string(),
|
||||
},
|
||||
None => BenchMethod::Internal,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue