• Colomban Wendling's avatar
    Mails: don't cache configuration values too early · dcfb047a
    Colomban Wendling authored
    As the user configuration is now loaded after the mails module, there
    is a race in the mail thread that fetches configuration options, which
    may or may not already have the user's value.
    
    So, remove caching of those value, which leads for them to be read much
    later after everything has properly been initialized.  The timeout
    setting might still have the default value on the first loop run, but
    this doesn't matter as the server isn't started at this point anyway.
    dcfb047a
Name
Last commit
Last update
picomon Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
README.md Loading commit data...
config-sample.py Loading commit data...
picomon.py Loading commit data...
picomon_watchdog.py Loading commit data...