realfastvla / realfast

Real-time interferometric data analysis for the VLA

Home Page:http://realfast.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

redefining controller makes duplicate clients

caseyjlaw opened this issue · comments

If a realfast_controller instance is redefined, then some commands suggest that there are multiple distributed clients going.

In [38]: rfc.restart()                                                                                                                                                                             
2018-12-06 21:14:16 INFO     distributed.client Receive restart signal from scheduler
2018-12-06 21:14:16 INFO     distributed.client Receive restart signal from scheduler
2018-12-06 21:14:16 INFO     distributed.client Receive restart signal from scheduler

This happens when event loop is not closed properly (with shutdown or close methods). Issue should have been fixed by dask/distributed#1073, but that was a while ago.