-
Notifications
You must be signed in to change notification settings - Fork 4.5k
batching removed #38225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
batching removed #38225
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -281,6 +281,8 @@ export class GracefulWorkerService { | |
| WebworkerSpanData | SpanAttributes | ||
| > = {}; | ||
|
|
||
| // eslint-disable-next-line no-console | ||
| method === "EVAL_TREE" && console.log("*** evaluation"); | ||
|
Comment on lines
+284
to
+285
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Replace console.log with proper logging Using console.log in production code is not recommended. Additionally, the log message lacks context and timestamp information. Replace with proper logging: - // eslint-disable-next-line no-console
- method === "EVAL_TREE" && console.log("*** evaluation");
+ method === "EVAL_TREE" && log.debug(`Starting evaluation for request ${messageId}`);
|
||
| try { | ||
| sendMessage.call(this._Worker, { | ||
| messageType: MessageType.REQUEST, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Critical: Batch processing mechanism is disabled
Commenting out the saga effects disables the entire batch processing mechanism. Without these effects:
executeBatchSagawon't process batched actionsstoreUpdatesSagawon't handle incoming updatesRestore the saga effects or provide an alternative mechanism:
📝 Committable suggestion