Skip to content

Conversation

@kriti20041
Copy link

What was changed:
Refactored ServiceExecutor to block on message retrieval instead of polling with sleep.

Why:
The previous implementation relied on periodic sleeping and null checks, leading to unnecessary CPU usage.

How tested:
Verified message processing flow locally.

@github-actions
Copy link

Analyzing changes in this PR...

This might take a few minutes, please wait

📥 Commits

Analyzing changes from base (ede37bd) to latest commit (a45ae6b):

  • a45ae6b: Remove busy-waiting from ServiceExecutor
📁 Files being considered (1)

🔄 queue-based-load-leveling/src/main/java/com/iluwatar/queue/load/leveling/ServiceExecutor.java (1 hunk)


autogenerated by presubmit.ai

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

Labels

None yet

1 participant