diff --git a/src/config/judge.ts b/src/config/judge.ts index 0727d6b..8b19e1d 100644 --- a/src/config/judge.ts +++ b/src/config/judge.ts @@ -6,6 +6,7 @@ export interface LanguageConfig { image: string; tag: string; workingDir: string; + timeout: number; } export const LanguageConfigs: Record = { @@ -17,6 +18,7 @@ export const LanguageConfigs: Record = { image: "gcc", tag: "latest", workingDir: "/src", + timeout: 1000, }, cpp: { id: "cpp", @@ -26,5 +28,6 @@ export const LanguageConfigs: Record = { image: "gcc", tag: "latest", workingDir: "/src", + timeout: 1000, }, };