specify unused port

pull/293/head
Ben Xu 5 months ago
parent 0572d6e9f1
commit 8f08dc2f8a

@ -72,5 +72,5 @@ async def entrypoint(ctx: JobContext):
if __name__ == "__main__":
# Initialize the worker with the entrypoint
cli.run_app(
WorkerOptions(entrypoint_fnc=entrypoint, api_key="devkey", api_secret="secret")
WorkerOptions(entrypoint_fnc=entrypoint, api_key="devkey", api_secret="secret", port=8082)
)

Loading…
Cancel
Save