mirror of
https://github.com/Icinga/icingadb.git
synced 2026-05-28 04:35:54 -04:00
Fix race condition
This commit is contained in:
parent
c5fe05f6cd
commit
88adc4e8fb
1 changed files with 1 additions and 2 deletions
3
main.go
3
main.go
|
|
@ -49,9 +49,8 @@ func main() {
|
|||
|
||||
go icingadb_json_decoder.DecodePool(super.ChDecode, super.ChErr, 16)
|
||||
|
||||
chHA := ha.RegisterNotificationListener()
|
||||
go func() {
|
||||
chHA := ha.RegisterNotificationListener()
|
||||
|
||||
super.ChErr <- sync.Operator(&super, chHA, &sync.Context{
|
||||
ObjectType: "host",
|
||||
Factory: host.NewHost,
|
||||
|
|
|
|||
Loading…
Reference in a new issue