From eb09ace03f43ca63ee91ad3343b12c9ce07f9e01 Mon Sep 17 00:00:00 2001 From: Vemparala Surya Vamsi Date: Wed, 18 Dec 2024 15:39:56 +0530 Subject: [PATCH] batching removed --- app/client/src/sagas/BatchSagas.tsx | 11 ++++++----- app/client/src/utils/WorkerUtil.ts | 2 ++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/app/client/src/sagas/BatchSagas.tsx b/app/client/src/sagas/BatchSagas.tsx index 346724c780ca..07a9d59fbe13 100644 --- a/app/client/src/sagas/BatchSagas.tsx +++ b/app/client/src/sagas/BatchSagas.tsx @@ -1,6 +1,7 @@ +/* eslint-disable @typescript-eslint/no-unused-vars */ /* eslint-disable @typescript-eslint/ban-ts-comment */ import _ from "lodash"; -import { put, debounce, takeEvery, all } from "redux-saga/effects"; +import { put } from "redux-saga/effects"; import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { batchActionSuccess } from "actions/batchActions"; @@ -88,8 +89,8 @@ function* executeBatchSaga() { } export default function* root() { - yield all([ - debounce(20, ReduxActionTypes.EXECUTE_BATCH, executeBatchSaga), - takeEvery(ReduxActionTypes.BATCHED_UPDATE, storeUpdatesSaga), - ]); + // yield all([ + // debounce(20, ReduxActionTypes.EXECUTE_BATCH, executeBatchSaga), + // takeEvery(ReduxActionTypes.BATCHED_UPDATE, storeUpdatesSaga), + // ]); } diff --git a/app/client/src/utils/WorkerUtil.ts b/app/client/src/utils/WorkerUtil.ts index 239e0d3ffcce..4c7bdfde06ae 100644 --- a/app/client/src/utils/WorkerUtil.ts +++ b/app/client/src/utils/WorkerUtil.ts @@ -281,6 +281,8 @@ export class GracefulWorkerService { WebworkerSpanData | SpanAttributes > = {}; + // eslint-disable-next-line no-console + method === "EVAL_TREE" && console.log("*** evaluation"); try { sendMessage.call(this._Worker, { messageType: MessageType.REQUEST,