Skip to content

Commit

Permalink
go fmt -all
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Dec 27, 2020
1 parent 9c84f60 commit 3842240
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions server/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -513,9 +513,9 @@ func (c *Cluster) TopicMaster(msg *ClusterReq, rejected *bool) error {
if t := globals.hub.topicGet(msg.RcptTo); t != nil {
select {
case t.meta <- &metaReq{
pkt: msg.CliMsg,
sess: sess,
}:
pkt: msg.CliMsg,
sess: sess,
}:
default:
sess.queueOut(ErrUnknownReply(msg.CliMsg, msg.CliMsg.Timestamp))
logs.Warn.Println("cluster: meta req failed - topic.meta queue full, topic ", msg.CliMsg.RcptTo, "; orig sid ", sess.sid)
Expand Down
2 changes: 1 addition & 1 deletion server/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"time"

"github.com/tinode/chat/server/auth"
"github.com/tinode/chat/server/push"
"github.com/tinode/chat/server/logs"
"github.com/tinode/chat/server/push"
"github.com/tinode/chat/server/store"
"github.com/tinode/chat/server/store/types"
)
Expand Down

0 comments on commit 3842240

Please sign in to comment.