summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-04-15 20:40:36 +0300
committerValery Piashchynski <[email protected]>2020-04-15 20:40:36 +0300
commit6c17c45cc5a52aa58f4b9f140aecae80820b0f0a (patch)
tree441375ce3353a2f9e531075a88089484e9afa119
parent23356ac33b7619db980a11b5eb466a79ec517466 (diff)
Typos fix
-rw-r--r--server.go2
-rw-r--r--server_config.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/server.go b/server.go
index d6efa132..406bc0a0 100644
--- a/server.go
+++ b/server.go
@@ -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