Skip to content

Instantly share code, notes, and snippets.

@jacobtomlinson
jacobtomlinson / poke.py
Created January 6, 2022 14:36
Poke Dask dashboard
# A script that gives a local Dask cluster something to do without stressing hardware.
# Useful for testing the dashboard.
import time
from dask_ctl import get_cluster
from dask.distributed import Client, wait
from dask import delayed