Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@debadree25
Copy link
Member

Have attempted to call the runDeserializeCallbacks() in reference to // TODO(joyeecheung): do this for worker threads as well.

cc @joyeecheung

(I have a feeling there might be more work to this if yes any guidance would be appreciated)

Refs: #44869

initializeClusterIPC();

// TODO(joyeecheung): do this for worker threads as well.
require('internal/v8/startup_snapshot').runDeserializeCallbacks();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The worker thread also runs this function, you can just move this outside the block then it gets run by both.

For now though this isn't really meaningful because there aren't any deserialize callback added for the workers.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see so closing the PR for now
Thanks!

@debadree25 debadree25 closed this Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.