Mercurial > libervia-backend
comparison src/memory/crypto.py @ 1130:adea30ca0b51
core: twistd plugin refactoring:
initialisation method manage things which must be done once (reactor installation + logging configuration), this method is called when service is created, so we can have the options passed to twistd (necessary to manage logging configuration). The initialisation order is important: for instance, sat_main must be imported after logging initialisation.
This refactoring avoid initialisation issue when SàT backend and libervia are both installed as twisted plugins.
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 25 Aug 2014 17:21:04 +0200 |
parents | 77cd312d32c4 |
children | 069ad98b360d |
comparison
equal
deleted
inserted
replaced
1129:08f50fdac21b | 1130:adea30ca0b51 |
---|