kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 00ce970efe64cc2e1b83a0981777e7ec46e96e2a
parent d09eb5e107a361584e8dbd956405e6fe7487e812
Author: Joris Vink <joris@coders.se>
Date:   Wed, 22 Feb 2017 12:48:06 -0800

Be less noisy about module reloading.

No longer show "not reloading foo" if timestamps didn't change.
Be more clear about a module forcing us to not reload it.

Diffstat:
src/module.c | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/module.c b/src/module.c @@ -147,17 +147,15 @@ kore_module_reload(int cbs) continue; } - if (module->mtime == st.st_mtime) { - kore_log(LOG_NOTICE, "not reloading %s", module->path); + if (module->mtime == st.st_mtime) continue; - } if (module->ocb != NULL && cbs == 1) { ret = kore_runtime_onload(module->ocb, KORE_MODULE_UNLOAD); if (ret == KORE_RESULT_ERROR) { kore_log(LOG_NOTICE, - "not reloading %s", module->path); + "%s forced no reloaded", module->path); continue; } }