mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-30 14:56:19 +00:00
## What changed? This is based on @yycptt's idea: Only do write on global taskGeneratorProvider if non-default. Provide the default TaskGeneratorProvider (it can be overridden with fx.Decorate). ## Why? This allows multiple independent servers to run in the same process without tripping the race detector, e.g. for integration testing, as long as the implementation is not overridden. ## How did you test it? existing tests