diff options
author | Wolfy-J <[email protected]> | 2018-06-11 14:57:47 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-11 14:57:47 +0300 |
commit | 846cec64f177a9cfef016a8225c4fae0faa29a0c (patch) | |
tree | a0dc1df41ab25793a2dd5ada80f3ca5de4615e7d /server.go | |
parent | 78fb74cfa5c0156f70c095a4f2cfee9851a9dc0f (diff) |
more tests for http
Diffstat (limited to 'server.go')
-rw-r--r-- | server.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -63,7 +63,7 @@ func (srv *Server) Start() (err error) { return err } - if srv.pool, err = NewPool(srv.cfg.makeCommand(), srv.factory, srv.cfg.Pool); err != nil { + if srv.pool, err = NewPool(srv.cfg.makeCommand(), srv.factory, *srv.cfg.Pool); err != nil { return err } @@ -124,7 +124,7 @@ func (srv *Server) Reconfigure(cfg *ServerConfig) error { previous := srv.pool srv.mu.Unlock() - pool, err := NewPool(cfg.makeCommand(), srv.factory, cfg.Pool) + pool, err := NewPool(cfg.makeCommand(), srv.factory, *cfg.Pool) if err != nil { return err } |