Skip to content

Conversation

@jhcipar
Copy link

@jhcipar jhcipar commented Dec 22, 2025

Modified from #457

  • JobScaler.run_jobs now tracks the active handlers in a set, adds a short wait timeout, and idles with asyncio.sleep(0.1) when there is nothing to do so the loop no longer busy-spins
  • Added tests/test_serverless/test_rp_scale.py, a new async test suite that exercises queue draining, concurrency limits, shutdown behavior, and an end-to-end “fetch jobs then process them” workflow using a patched JobScaler.

@jhcipar jhcipar requested a review from deanq December 22, 2025 16:04
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.

2 participants