mara / mara-pipelines

A lightweight opinionated ETL framework, halfway between plain scripts and Apache Airflow
MIT License
2.07k stars 100 forks source link

Fix open runs after browser reload #20

Closed jankatins closed 4 years ago

jankatins commented 4 years ago

When closing a browser window (or press reload during a running ETL), the generator gets closed with GeneratorExit but we didn't close the runs/node_runs.

Similar things happened when the process was killed by SIGINT.

Now we close the runs/node_runs on both an aborted window/reload and SIGINT.

martin-loetzsch commented 4 years ago

Looks good. Shouldn't we also do this when someone hits STRG+C