richardartoul / nola

MIT License
74 stars 6 forks source link

Refactor activations.go #52

Closed richardartoul closed 1 year ago

richardartoul commented 1 year ago

Refactor activations.go to:

  1. Simplify code
  2. Make it easier to support actor expiration
  3. Deduplicate module loads
  4. Prevent lock contention by avoiding holding global lock during per-actor initialization/shutdown phase.