diff options
-rw-r--r-- | server.go | 2 | ||||
-rw-r--r-- | server_config.go | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -166,7 +166,7 @@ func (s *Server) Reconfigure(cfg *ServerConfig) error { pWatcher := s.pController s.mu.Unlock() - pool, err := NewPool(s.cfg.makeCommand(), s.factory, *cfg.Pool) + pool, err := NewPool(cfg.makeCommand(), s.factory, *cfg.Pool) if err != nil { return err } diff --git a/server_config.go b/server_config.go index 3714971c..32ff0ebc 100644 --- a/server_config.go +++ b/server_config.go @@ -21,7 +21,7 @@ type ServerConfig struct { // Command includes command strings with all the parameters, example: "php worker.php pipes". Command string - // User under which process is starting + // User under which process will be started User string // CommandProducer overwrites |