Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unique Worker ID #2529

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
adapt stub run function for tests
  • Loading branch information
whilenot-dev committed Dec 5, 2024
commit fe854b4ede2397317c0c69bf870c18b5846f7465
2 changes: 1 addition & 1 deletion tests/supervisors/test_multiprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def app(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable
pass # pragma: no cover


def run(sockets: list[socket.socket] | None) -> None:
def run(sockets: list[socket.socket] | None, process_num: int) -> None:
while True: # pragma: no cover
time.sleep(1)

Expand Down
Loading
  NODES
COMMUNITY 2
Note 1
Project 2
USERS 1