Minimize app dependency on platform service (#21548)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
91ee9ed2eb
Коммит
d8e2859b0b
@@ -287,7 +287,7 @@ func NewServer(options ...Option) (*Server, error) {
|
||||
// It is important to initialize the hub only after the global logger is set
|
||||
// to avoid race conditions while logging from inside the hub.
|
||||
// Step 5: Start hub in platform which the hub depends on s.Channels() (step 4)
|
||||
s.platform.Start(New(ServerConnector(s.Channels())))
|
||||
s.platform.Start()
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Everything below this is not order sensitive and safe to be moved around.
|
||||
|
||||
Ссылка в новой задаче
Block a user