diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt index 399cf8f67..c36841ad6 100644 --- a/src/lib/CMakeLists.txt +++ b/src/lib/CMakeLists.txt @@ -11,6 +11,7 @@ set (Config_Protos config/protos/MarketData.proto config/protos/Symbols.proto config/protos/Ports.proto + config/protos/Executor.proto ) # non config/non service protos diff --git a/src/lib/config/protos/Executor.proto b/src/lib/config/protos/Executor.proto new file mode 100644 index 000000000..538b62f65 --- /dev/null +++ b/src/lib/config/protos/Executor.proto @@ -0,0 +1,13 @@ + +syntax='proto2'; +package bts.config; + +message Executor { + optional int32 affinity = 1 [default = -1]; + optional bool yield_cpu = 2 [default = true]; + repeated string actor = 3; +} + +message ExecutorCfg { + repeated Executor executor = 1; +} \ No newline at end of file