Skip to content

Conversation

avara1986
Copy link
Member

No description provided.

def reload_conf(self):
self.delete_services()
self.config.reload()
self.init_services()
Copy link
Member Author

Choose a reason for hiding this comment

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

@miguelgrubin an other aproach, we reload config but no restart services and app, @alexppg view that, if we restart the config we must restart the DDBB and other libs

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, it would be awesome to be able to add to this "restart" feature an abstract way to restart anything. This way, pyms wouldn't need to support every feature ever used but the developer could use it as a function, handler or something like that. @avara1986 @miguelgrubin

@coveralls
Copy link

coveralls commented Jan 21, 2020

Coverage Status

Coverage increased (+0.01%) to 99.698% when pulling 73745de on feature/reload-config-and-read-once into c470a40 on master.

@miguelgrubin miguelgrubin self-requested a review January 22, 2020 08:12
@avara1986 avara1986 merged commit 98f2f95 into master Jan 22, 2020
@avara1986 avara1986 deleted the feature/reload-config-and-read-once branch January 22, 2020 16:55
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.

4 participants