Closed calvinxiao closed 2 years ago
h.StartWorkers
When code uses worker.New to create worker, it forgot to register workflows and activities, causing workers not responding to any triggers
worker.New
Changed samples:
func init()
it caused ... is already registered panic.
... is already registered
All committers have signed the CLA.
1. Use
h.StartWorkers
to start workerWhen code uses
worker.New
to create worker, it forgot to register workflows and activities, causing workers not responding to any triggersChanged samples:
2. Makefile is missing some sample builds
3. Remove workflow and activity registering code in
func init()
it caused
... is already registered
panic.