mirror of
https://github.com/raz-varren/sacrificial-socket.git
synced 2025-11-01 20:12:36 +08:00
fixed old log line
This commit is contained in:
@@ -39,7 +39,9 @@ type MMHB struct {
|
|||||||
//pollFrequency is used to determine how frequently MongoDB is queried for broadcasts or roomcasts
|
//pollFrequency is used to determine how frequently MongoDB is queried for broadcasts or roomcasts
|
||||||
func NewBackend(mongoURL, serverName, serverGroup string, pollFrequency time.Duration) *MMHB {
|
func NewBackend(mongoURL, serverName, serverGroup string, pollFrequency time.Duration) *MMHB {
|
||||||
m, err := mgo.Dial(mongoURL)
|
m, err := mgo.Dial(mongoURL)
|
||||||
log.CheckFatal(err)
|
if err != nil {
|
||||||
|
log.Err.Fatalln(err)
|
||||||
|
}
|
||||||
db := m.DB("SSMultihome")
|
db := m.DB("SSMultihome")
|
||||||
|
|
||||||
s := backendServer{
|
s := backendServer{
|
||||||
|
|||||||
Reference in New Issue
Block a user