Skip to content

Commit 886006d

Browse files
rkannan82claude
andcommitted
Replace IsEphemeral() with fine-grained properties on WorkerCommandsPartition
Update WorkerCommandsPartition to implement HasTTLExpiry(), SupportsFairness(), and SupportsVersioning() instead of IsEphemeral(). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7524880 commit 886006d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

common/tqid/task_queue_id.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,9 +355,9 @@ func (w *WorkerCommandsPartition) IsChild() bool {
355355
return false
356356
}
357357

358-
func (w *WorkerCommandsPartition) IsEphemeral() bool {
359-
return true
360-
}
358+
func (w *WorkerCommandsPartition) HasTTLExpiry() bool { return true }
359+
func (w *WorkerCommandsPartition) SupportsFairness() bool { return false }
360+
func (w *WorkerCommandsPartition) SupportsVersioning() bool { return false }
361361

362362
func (w *WorkerCommandsPartition) RpcName() string {
363363
return w.name

0 commit comments

Comments
 (0)