|
@@ -193,9 +193,13 @@ class BoB:
|
|
|
self.nocache = nocache
|
|
|
self.component_config = {}
|
|
|
# Some time in future, it may happen that a single component has
|
|
|
- # multple processes. If so happens, name "components" may be
|
|
|
- # inapropriate. But as the code isn't probably completely ready
|
|
|
- # for it, we leave it at components for now.
|
|
|
+ # multple processes (like a pipeline-like component). If so happens,
|
|
|
+ # name "components" may be inapropriate. But as the code isn't probably
|
|
|
+ # completely ready for it, we leave it at components for now. We also
|
|
|
+ # want to support multiple instances of a single component. If it turns
|
|
|
+ # out that we'll have a single component with multiple same processes
|
|
|
+ # or if we start multiple components with the same configuration (we do
|
|
|
+ # this now, but it might change) is an open question.
|
|
|
self.components = {}
|
|
|
# Simply list of components that died and need to wait for a
|
|
|
# restart. Components manage their own restart schedule now
|