Browse Source

fixing deadlock

reid 2 năm trước cách đây
mục cha
commit
b5e36b68c0
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      broadcast/broadcast.go

+ 1 - 0
broadcast/broadcast.go

@@ -334,6 +334,7 @@ func GetStateJson() ([]byte, error) {
 // broadcast the global state to auth'd clients
 func BroadcastToClients() error {
 	authJson, err := GetStateJson()
+	config.Logger.Info("Got state json")
 	if err != nil {
 		errmsg := fmt.Errorf("Error marshalling auth broadcast:", err)
 		return errmsg