mirror of
https://github.com/gravitl/netmaker.git
synced 2026-04-22 16:07:11 +08:00
fix(go): send mq messages in go routine;
This commit is contained in:
+2
-2
@@ -140,8 +140,8 @@ func ValidateLicense() (err error) {
|
||||
proLogic.SetFeatureFlags(licenseResponse.FeatureFlags)
|
||||
proLogic.SetDeploymentMode(licenseResponse.DeploymentMode)
|
||||
|
||||
_ = mq.PublishExporterFeatureFlags()
|
||||
_ = mq.PublishPeerUpdate(false)
|
||||
go mq.PublishExporterFeatureFlags()
|
||||
go mq.PublishPeerUpdate(false)
|
||||
|
||||
slog.Info("License validation succeeded!")
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user