hatchet icon indicating copy to clipboard operation
hatchet copied to clipboard

fix: worker stream state

Open grutt opened this issue 1 year ago • 1 comments

Description

Fixes the case where a grpc stream is disrupted but heartbeats are still received.

Type of change

  • [x] Bug fix (non-breaking change which fixes an issue)

What's Changed

  • [x] adds an isActive flag to the worker record to
  • [x] filters all valid_workers by is active to ensure that
  • [x] if the grpc stream is not active, we reject heartbeats
  • [x] reassign work to valid workers if it is stuck in the assigned state

grutt avatar May 20 '24 18:05 grutt

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hatchet-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 20, 2024 6:43pm

vercel[bot] avatar May 20 '24 18:05 vercel[bot]