Fixed command line config and removed --max-cpu-usage and --safe.
This commit is contained in:
parent
2fc54d240a
commit
222cebba71
15 changed files with 283 additions and 163 deletions
|
@ -49,6 +49,7 @@ public:
|
|||
static void load(JsonChain &chain, Process *process, IConfigTransform &transform);
|
||||
|
||||
protected:
|
||||
void finalize(rapidjson::Document &doc) override;
|
||||
void transform(rapidjson::Document &doc, int key, const char *arg) override;
|
||||
|
||||
|
||||
|
@ -96,6 +97,9 @@ protected:
|
|||
}
|
||||
}
|
||||
|
||||
protected:
|
||||
Algorithm m_algorithm;
|
||||
|
||||
|
||||
private:
|
||||
void transformBoolean(rapidjson::Document &doc, int key, bool enable);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue