2015-12-18 15:31:49 |
Attila Fazekas |
description |
I observed many openstack services and openstack component are searing for translation very frequently.
I just modified the basic example application and enabled
the lazy mode.
http://docs.openstack.org/developer/oslo.i18n/usage.html#creating-an-integration-module
Without lazy mode I just see an initial file search via strace,
but when the lazy mode gets enabled very message causes a file search. |
I observed many openstack services and openstack component are searing for translation very frequently.
I just modified the basic example application and enabled
the lazy mode.
http://docs.openstack.org/developer/oslo.i18n/usage.html#creating-an-integration-module
Without lazy mode I just see an initial file search via strace,
but when the lazy mode gets enabled every message causes a file search.
These kind of extra searches just waste of time,
If the file was not there at the first execution, we should not expect it will be there at every log line print. Nobody expects a service needs to find and use an on the file changed/installed translation. Would be better
to make the normal execution faster. |
|