Refactor CmdLine::store

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 2.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We should split it into two steps. store() should only store the options, but not act on them. A new function process() should act on them. Currently it is hard to get a holistic view of all options because things like --fork and --logpath modify the running state before we can intercept. This is particularly a problem for --shutdown, but there are other cases where it would be nice to have a step between reading the config and acting on it.

              Assignee:
              Andy Schwerin
              Reporter:
              Mathias Stearn
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: