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

Reference distributed's actual TimeoutError used #534

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dask-gateway-server/dask_gateway_server/backends/inprocess.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from dask_gateway.scheduler_preload import make_gateway_client, GatewaySchedulerService
from distributed import Security, Scheduler, Worker
from distributed.core import Status
from tornado import gen
from distributed.utils import TimeoutError

from .local import UnsafeLocalBackend

Expand Down Expand Up @@ -100,7 +100,7 @@ async def do_stop_worker(self, worker):
return
try:
await worker.close(timeout=1)
except gen.TimeoutError:
except TimeoutError:
pass

async def do_check_workers(self, workers):
Expand Down
1 change: 0 additions & 1 deletion dask-gateway-server/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ def run(self):
"aiohttp",
"colorlog",
"cryptography",
"tornado",
"traitlets",
]

Expand Down
2 changes: 1 addition & 1 deletion dask-gateway/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
"click<8.1.0",
"dask>=2.2.0",
"distributed>=2.2.0",
"distributed>=2021.01.1",
"pyyaml",
"tornado",
]
Expand Down
4 changes: 2 additions & 2 deletions dev-environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ dependencies:
- aiohttp # dask-gateway, dask-gateway-server
- click<8.1.0 # dask-gateway
- dask # dask-gateway
- distributed # dask-gateway
- distributed>=2021.01.1 # dask-gateway
- pyyaml # dask-gateway
- tornado # dask-gateway, dask-gateway-server
- tornado # dask-gateway
- colorlog # dask-gateway-server
- cryptography # dask-gateway-server
- traitlets # dask-gateway-server
Expand Down