Changeset View
Changeset View
Standalone View
Standalone View
sysutils/py-mqttwarn/files/patch-mqttwarn_core.py
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- mqttwarn/core.py.orig 2020-02-24 14:41:12 UTC | |||||
+++ mqttwarn/core.py | |||||
@@ -496,7 +496,7 @@ def processor(worker_id=None): | |||||
logger.info("Invoking service plugin for `%s'" % service) | |||||
try: | |||||
# Fire the plugin in a separate thread and kill it if it doesn't return in 10s | |||||
- module = service_plugins[service]['module'] | |||||
+ module = service_plugins[service][cf.libdir + '/' + 'module'] | |||||
service_logger_name = 'mqttwarn.services.{}'.format(service) | |||||
koobs: Is this an upstream unreleased patch or something we have done only downstream?
Comment in… | |||||
Done Inline ActionsOnly downstream. I'll send it upstream. dvl: Only downstream. I'll send it upstream. | |||||
srv = make_service(mqttc=mqttc, name=service_logger_name) | |||||
notified = timeout(module.plugin, (srv, st)) |
Is this an upstream unreleased patch or something we have done only downstream?
Comment in patch header is useful for our future selves about what this is for, and what if anything needs to be done to upstream it (where possible)