Added on wire event format
This commit is contained in:
@@ -219,17 +219,6 @@ func NewConfigContext() {
|
||||
|
||||
LogRootPath = Cfg.Section("log").Key("root_path").MustString(path.Join(WorkDir, "/data/log"))
|
||||
|
||||
// Notifications
|
||||
NotificationsEnabled = Cfg.Section("notifications").Key("enabled").MustBool(false)
|
||||
RabbitmqUrl = Cfg.Section("notifications").Key("rabbitmq_url").MustString("amqp://localhost/")
|
||||
|
||||
// validate rabbitmqUrl.
|
||||
_, err = url.Parse(RabbitmqUrl)
|
||||
if err != nil {
|
||||
log.Fatal(4, "Invalid rabbitmq_url(%s): %s", RabbitmqUrl, err)
|
||||
}
|
||||
NotificationsExchange = Cfg.Section("notifications").Key("notifications_exchange").MustString("notifications")
|
||||
|
||||
readSessionConfig()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user