First cut at executor cfg.
This commit is contained in:
1 parent
1661929da7
commit
6ee2f7a284
2 files changed
+14
No files matched your search
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user