Syncing consul periodically
This commit is contained in:
parent
bf748a522b
commit
83976a4b96
|
@ -354,7 +354,7 @@ func (e *UniversalExecutor) RegisterServices() error {
|
|||
if err != nil {
|
||||
e.logger.Printf("executor: error registering services: %v", err)
|
||||
}
|
||||
//go e.consulService.SyncWithConsul()
|
||||
go e.consulService.SyncWithConsul()
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue