BackgroundDaemon: mention emitted component level
This commit is contained in:
parent
79243f660a
commit
cec4b7b57b
|
@ -143,7 +143,8 @@ class BackgroundDaemon
|
|||
$dbResourceName = null
|
||||
) {
|
||||
$db = new DaemonDb($processDetails);
|
||||
$db->on('state', function ($state) use ($processState) {
|
||||
$db->on('state', function ($state, $level = null) use ($processState) {
|
||||
// TODO: level is sent but not used
|
||||
$processState->setComponentState('db', $state);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue