Skip to content

Commit 1b3a130

Browse files
committed
Disable async submission
1 parent bda16d2 commit 1b3a130

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • client/src/components/Tool/submit

client/src/components/Tool/submit/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ import { useConfigStore } from "@/stores/configurationStore";
33
import { submitToolJob as submitAsync } from "./submitAsync";
44
import { submitToolJob as submitLegacy } from "./submitLegacy";
55

6+
const ENABLE_ASYNC = false;
7+
68
export async function submitToolJob(params) {
79
const configStore = useConfigStore();
8-
if (configStore.config?.enable_celery_tasks) {
10+
if (ENABLE_ASYNC && configStore.config?.enable_celery_tasks) {
911
return submitAsync(params);
1012
}
1113
return submitLegacy(params);

0 commit comments

Comments
 (0)