diff options
author | Wolfy-J <[email protected]> | 2018-06-12 23:36:34 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-12 23:36:34 +0300 |
commit | 3126c203b10573f6b834b426edbe2e66b50eb9a2 (patch) | |
tree | 13cf7b879fb7fe6c733929c182f9ada2fb125910 /server.go | |
parent | 47aa87a1cd438c6c99a4640f6af60fd408b5c3bc (diff) |
fixing worker allocation loop
Diffstat (limited to 'server.go')
-rw-r--r-- | server.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -123,13 +123,13 @@ func (srv *Server) Reconfigure(cfg *ServerConfig) error { srv.mu.Unlock() pool, err := NewPool(cfg.makeCommand(), srv.factory, *cfg.Pool) + srv.pool.Listen(srv.poolListener) if err != nil { return err } srv.mu.Lock() srv.cfg.Pool, srv.pool = cfg.Pool, pool - srv.pool.Listen(srv.poolListener) srv.mu.Unlock() srv.throw(EventPoolConstruct, pool) |