Skip to content

Commit

Permalink
using different random port
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Neagu committed Oct 24, 2023
1 parent 5bf7f71 commit aaf69b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/inactivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@

import requests

r = requests.get("http://localhost:9000")
r = requests.get("http://localhost:19597")
print(r.text)
3 changes: 1 addition & 2 deletions docker/kernel_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

KERNEL_BUSY_CHECK_INTERVAL_S: Final[float] = 5


class JupyterKernelChecker:
BASE_URL = "http://localhost:8888"
HEADERS = {"accept": "application/json"}
Expand Down Expand Up @@ -79,7 +78,7 @@ def make_app()-> tornado.web.Application:

async def main():
app = make_app()
app.listen(9000)
app.listen(19597)
asyncio.create_task(kernel_checker.run())
await asyncio.Event().wait()

Expand Down

0 comments on commit aaf69b9

Please sign in to comment.