Skip to content
Discussion options

You must be logged in to vote

Ah yes. of course. if you want to RELOAD plugins in scheduler you need to restart it. I thought the problem was with variables not with reloading. Scheduler does not have hot plugin reload - only webserver (and DagFileProcessor).

Hot reloading is next to impossible to be done in Python for multiple reasons. The only way it works in Webserver is because it actually has N processes and they kept on being restarted regularly as they are just statelessly handling requests and lazy loading of plugins make them load only after the worker processes start., Similarly DAGFileProcessor forks a new process every time it parses a file so plugins (and any other imported python modiules) are loaded aft…

Replies: 3 comments 13 replies

Comment options

You must be logged in to vote
3 replies
@kobethuwis
Comment options

@potiuk
Comment options

potiuk Mar 27, 2023
Collaborator

@kobethuwis
Comment options

Comment options

You must be logged in to vote
3 replies
@potiuk
Comment options

potiuk Apr 18, 2023
Collaborator

@kobethuwis
Comment options

@potiuk
Comment options

potiuk Apr 18, 2023
Collaborator

Comment options

You must be logged in to vote
7 replies
@kobethuwis
Comment options

@kobethuwis
Comment options

@kobethuwis
Comment options

@potiuk
Comment options

potiuk Jan 17, 2024
Collaborator

Answer selected by kobethuwis
@kobethuwis
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants