mirror of
https://github.com/mochi-mqtt/server.git
synced 2025-10-05 16:17:01 +08:00
Persistence V1
This commit is contained in:
@@ -42,7 +42,12 @@ func main() {
|
||||
}
|
||||
|
||||
// Start broker...
|
||||
go server.Serve()
|
||||
go func() {
|
||||
err := server.Serve()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
}()
|
||||
fmt.Println(aurora.BgMagenta(" Started! "))
|
||||
|
||||
// Wait for signals...
|
||||
|
Reference in New Issue
Block a user