Restructure config file
This commit is contained in:
parent
225250ed4e
commit
a54e842478
18 changed files with 258 additions and 216 deletions
|
|
@ -37,7 +37,7 @@ pub async fn run(server: Server) -> somehow::Result<()> {
|
|||
|
||||
let post_api_worker_status = Router::new()
|
||||
.typed_post(post_api_worker_status)
|
||||
.layer(DefaultBodyLimit::max(server.config.web_worker_max_upload));
|
||||
.layer(DefaultBodyLimit::max(server.config.worker_upload));
|
||||
|
||||
let app = Router::new()
|
||||
.typed_get(get_api_worker_bench_repo_by_hash_tree_tar_gz)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue