Skip to content
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

Make it easier for apps using py to override configuration #48

Open
oubiwann opened this issue Dec 30, 2014 · 1 comment
Open

Make it easier for apps using py to override configuration #48

oubiwann opened this issue Dec 30, 2014 · 1 comment

Comments

@oubiwann
Copy link
Member

The best solution for this might be to convert the LFE code to accept state data in each call, initialized in the app. At that point, any other app could start up the LFE py app with a different initial state (including config data).

For instance, right now it is difficult for lsci to override the log level of py from the lsci app. Perhaps more importantly, lsci can't control the number of ErlPort Python servers that py starts up (though it can create more dynamically via (py:add-server ...)). If lsci wants to change the type of Python server scheduler used, that is also cumbersome and can't be easily overridden right now.

@oubiwann
Copy link
Member Author

lsci's got a work around for this now: lfeutre/lsci@a5c426a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant