Skip to content

Commit 271ee86

Browse files
committed
add pool's options to the Server interface
Signed-off-by: Valery Piashchynski <[email protected]>
1 parent 3ce5793 commit 271ee86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/server/interface.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ type Server interface {
1515
// NewWorker return a new worker with provided and attached by the user listeners and environment variables
1616
NewWorker(ctx context.Context, env map[string]string) (*worker.Process, error)
1717
// NewWorkerPool return new pool of workers (PHP) with attached events listeners, env variables and based on the provided configuration
18-
NewWorkerPool(ctx context.Context, opt *pool.Config, env map[string]string) (pool.Pool, error)
18+
NewWorkerPool(ctx context.Context, opt *pool.Config, env map[string]string, options ...pool.Options) (pool.Pool, error)
1919
}

0 commit comments

Comments
 (0)