Browse Source

Stop syncing on nil errors

pull/137/head
Kegan Dougal 8 years ago
parent
commit
9708e6351b
  1. 2
      src/github.com/matrix-org/go-neb/clients/clients.go

2
src/github.com/matrix-org/go-neb/clients/clients.go

@ -359,6 +359,8 @@ func (c *Clients) newClient(config api.ClientConfig) (*gomatrix.Client, error) {
"user_id": config.UserID,
}).Error("Fatal Sync() error")
time.Sleep(10 * time.Second)
} else {
return
}
}
}()

Loading…
Cancel
Save