Skip to content

Remove the unread queue_name field from the task hash - #84

Merged
codingjoe merged 1 commit into
mainfrom
codingjoe-remove-queue-name-field
Oct 5, 2026
Merged

codingjoe merged 1 commit into
mainfrom
codingjoe-remove-queue-name-field

Conversation

@codingjoe

Copy link
Copy Markdown
Owner

RedisTaskBackend.enqueue() stored a queue_name field in the task hash that no code reads (#79). The acquire and mover Lua scripts read only data and score, the reaper checks key existence only, and every reader takes the queue from the payload's task.queue_name or from the key it found the task id under.

  • Drop queue_name from the enqueue hash mapping in threadmill/backends/redis.py

@codingjoe
codingjoe merged commit b55bee0 into main Oct 5, 2026
3 of 4 checks passed
@codingjoe
codingjoe deleted the codingjoe-remove-queue-name-field branch October 5, 2026 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant