galaxyproject / ephemeris

Library for managing Galaxy plugins - tools, index data, and workflows.
https://ephemeris.readthedocs.org/
Other
28 stars 38 forks source link

setup data lib: improve jobs watching in legacy mode #152

Open abretaud opened 4 years ago

abretaud commented 4 years ago

Currently, in legacy mode, setup_data_libraries calls JobsClient.get_jobs() to get the list of jobs to wait for completion. This call can be veeeery long depending on the number of jobs of the user. For me I get a 502 eror after 60seconds. So here's a patch to collect the job ids to watch during the data lib creation.