Changeset 5900035 in rattail


Ignore:
Timestamp:
10/31/2022 09:39:51 PM (3 months ago)
Author:
Lance Edgar <lance@…>
Branches:
master
Children:
4868a32
Parents:
a2e54d9
Message:

Fix config prefix for Luigi service info

this now matches what tailbone exposes as settings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rattail/luigi/handler.py

    ra2e54d9 r5900035  
    5050    def get_supervisor_process_name(self, require=False, **kwargs):
    5151        getter = self.config.require if require else self.config.get
    52         return getter('luigi', 'scheduler.supervisor_process_name')
     52        return getter('rattail.luigi', 'scheduler.supervisor_process_name')
    5353
    5454    def restart_supervisor_process(self, name=None, **kwargs):
     
    7474        # no proxy, but we can still try command line
    7575        # TODO: should rename this setting at some point?
    76         cmd = self.config.get('luigi', 'scheduler.restart_command')
     76        cmd = self.config.get('rattail.luigi', 'scheduler.restart_command')
    7777        if cmd:
    7878            cmd = self.config.parse_list(cmd)
Note: See TracChangeset for help on using the changeset viewer.