class AWS::Flow::WorkerOptions

Options for activity and workflow workers.

@!attribute logger

The logger to use for the worker.

@!attribute execution_workers

The maximum number of execution workers that can be running at once. You
can set this to zero or `nil`, in which case the default value of 20
will be used.

@!attribute use_forking

Whether to use Ruby's `fork` for launching new workers. The default is
`true`.

On Windows, `use_forking` should generally be set to `false`:

    AWS::Flow::ActivityWorker.new(
        @domain.client, @domain, ACTIVITY_TASKLIST, klass) { { use_forking: false } }

For more information, see
[Important Notes](http://docs.aws.amazon.com/amazonswf/latest/awsrbflowguide/welcome.html#forking-windows-note)
in the *AWS Flow Framework for Ruby Developer Guide*.