summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-01-23 20:01:17 -0500
committerWolfy-J <[email protected]>2018-01-23 20:01:17 -0500
commit5d8102d2ad57b1e556abb3bb7d06080b43eeb098 (patch)
tree83698061fe2f830e844c41f47fd70b3a879ab99a
parent2fa64cef5bc8f05b3185460aafddfd8ecc7d16a2 (diff)
example
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 5aa97e51..a7ea4d4e 100644
--- a/README.md
+++ b/README.md
@@ -24,9 +24,9 @@ Examples:
```go
pool, err := NewPool(
- func() *exec.Cmd { return exec.Command("php", "worker.php") },
- NewPipeFactory(),
- Config{
+ func() *exec.Cmd { return exec.Command("php", "worker.php") },
+ NewPipeFactory(),
+ Config{
NumWorkers: uint64(runtime.NumCPU()),
AllocateTimeout: time.Second,
DestroyTimeout: time.Second,