Skip to content

Refactor queue worker creation - #72

Open
mspandey wants to merge 1 commit into
madhav2348:mainfrom
mspandey:patch-1
Open

Refactor queue worker creation#72
mspandey wants to merge 1 commit into
madhav2348:mainfrom
mspandey:patch-1

Conversation

@mspandey

Copy link
Copy Markdown

Summary

Remove unused queue worker variable in server runtime initialization.

Changes Made

  • Removed the unused worker variable assignment.
  • Preserved queue worker initialization by keeping the function call.

Why This Change?

The queue worker instance was created and assigned to a variable that was never used. This can trigger lint warnings and reduce code clarity by suggesting the variable has a purpose beyond initialization.

Removing the unused assignment keeps the initialization behavior intact while eliminating unnecessary code.

Impact

  • Resolves unused variable warnings.
  • Improves code readability.
  • Preserves existing queue worker registration behavior.

## Summary

Remove unused queue worker variable in server runtime initialization.

## Changes Made

* Removed the unused `worker` variable assignment.
* Preserved queue worker initialization by keeping the function call.

## Why This Change?

The queue worker instance was created and assigned to a variable that was never used. This can trigger lint warnings and reduce code clarity by suggesting the variable has a purpose beyond initialization.

Removing the unused assignment keeps the initialization behavior intact while eliminating unnecessary code.

## Impact

* Resolves unused variable warnings.
* Improves code readability.
* Preserves existing queue worker registration behavior.
@github-actions

Copy link
Copy Markdown

🎉 Thanks for submitting a PR, @mspandey!

Please confirm the following checklist before review:

  • ⭐ I have starred this repository
  • 🍴 I have forked this repository
  • 📖 I have read the Contributing Guidelines
  • 🔀 My changes are pushed to the develop branch

A maintainer will review your PR shortly. Thank you! 🚀

@madhav2348 madhav2348 added the invalid This doesn't seem right label Jun 19, 2026
@madhav2348

Copy link
Copy Markdown
Owner

ESOC or SSOC ? and please read contribution guidlines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

invalid This doesn't seem right

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants