!*all commands are out - since we already have reserved 'ASF' botName, use this for targetting all bots in the process.
Also first parts of #445
This commit is contained in:
JustArchi
2017-01-30 22:17:25 +01:00
parent 5253528551
commit 8691050ed7
4 changed files with 468 additions and 141 deletions

View File

@@ -98,6 +98,10 @@ namespace ConfigGenerator {
[JsonProperty(Required = Required.DisallowNull)]
public byte MaxTradeHoldDuration { get; set; } = 15;
[LocalizedCategory("Performance")]
[JsonProperty(Required = Required.DisallowNull)]
public EOptimizationMode OptimizationMode { get; set; } = EOptimizationMode.Balanced;
[JsonProperty(Required = Required.DisallowNull)]
public bool Statistics { get; set; } = true;
@@ -206,6 +210,12 @@ namespace ConfigGenerator {
Logging.LogGenericWarning(string.Format(CGStrings.WarningConfigPropertyModified, nameof(WCFPort), WCFPort));
}
internal enum EOptimizationMode : byte {
Balanced,
MaxPerformance,
MinMemoryUsage
}
internal enum EUpdateChannel : byte {
None,
Stable,