Async docker launch
Compare changes
+ 20
− 13
@@ -17,6 +17,7 @@
@@ -112,18 +113,24 @@ async def post_instances(request: Request, instance: InstanceModel, token=Depend
Beginning with 2nd June, only the "Single Sign On" option for login to the GitLab web interface will be possible. If you don't have an MPCDF wide second factor so far, please get one at our SelfService (https://selfservice.mpcdf.mpg.de). The GitLab internal second factor will not work.
Wrapped the docker launch in an async function. This should fix problems with the API hanging on docker startup, but also implies that the API does properly handle and report exceptions happening during the docker launch.