Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/pecan-api/src/api/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use std::sync::Arc;
use axum::Router;
use axum::response::IntoResponse;
use axum::routing::get;
use axum::extract::DefaultBodyLimit;
use pecan_core::code_execution::AsyncCodeExecutionResult;
use tokio::net::TcpListener;
use tokio::sync::mpsc::Receiver;
Expand All @@ -21,7 +22,7 @@ pub async fn start(state: SharedState, webhook_rx: Receiver<AsyncCodeExecutionRe
let router = Router::new()
.route("/v1/health", get(health_handler))
.route("/v1/version", get(version_handler))
.nest("/v1/judge", judge_routes::routes())
.nest("/v1/judge", judge_routes::routes().layer(DefaultBodyLimit::max(32 * 1024 * 1024)))
.nest("/v1/manager", manager_routes::routes())
.with_state(Arc::clone(&state))
.layer(cors_layer);
Expand Down
4 changes: 2 additions & 2 deletions toolchains/java/manifest.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# /toolchains/java/manifest.yaml

language: java
version: "17"
version: "17.0.19.10.1"
method: tarball
install_prefix: "/opt/toolchains/java/17"

artifact_template:
url: "https://corretto.aws/downloads/latest/amazon-corretto-{{version}}-{{java_arch}}-{{os}}-jdk.tar.gz"
url: "https://corretto.aws/downloads/resources/{{version}}/amazon-corretto-{{version}}-{{os}}-{{java_arch}}.tar.gz"
sha256_by_arch:
x64: "d0f1b880445691425511c3aa62cb89889f03a71c2a43597a3df174fc01d3f3a0"
aarch64: "1b9f75b5a2f740ab3305577858e2fc87dad827b60678d4573234d6357be59fa8"
Expand Down
Loading