-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Open
Labels
processIssues and PRs related to the process subsystem.Issues and PRs related to the process subsystem.
Description
Opening an issue to discuss about how to refactor the Worker
and NodeMainInstance
class to reuse code.
My current plan is to create a base class NodeInstance
and try to strip out common code in WorkerData
/Worker
as well as NodeMainInstance
in there, and then make Worker
and NodeMainInstance
inherit from NodeInstance
.
This is useful in adding support for startup snapshots in workers and ContextifyContext - otherwise we need to repeat e.g. snapshot availability detection code in multiple places which can be tricky to maintain.
Refs: #29842
devsnek, dnalborczyk and legendecas
Metadata
Metadata
Assignees
Labels
processIssues and PRs related to the process subsystem.Issues and PRs related to the process subsystem.