Skip to content

Create options structs to override defaults #94

@codeblooded

Description

@codeblooded

The orch package defines several types that use default "magic" constants. For example, Watcher defines a constant for the size of its buffered channels. These types should expose options structs that can be passed into their constructors and allow these values to be overridden. They should continue to use sane defaults when no value is specified.

This issue would be a good precursor to #54, since these timeouts should be configurable. This will need to define options for:

  • Controller
  • Watcher

The Controller should probably accept and proxy any options for the executor, queue and other non-exported types.

Metadata

Metadata

Assignees

Labels

P1High priority; prioritized over P2+ issuesfeatureNew feature or requesthelp wantedGood issue for anyone to claim, even new contributorsrefactorNon-functional change for project clean up

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions