prominence-eosc / imc

PROMINENCE infrastructure provisioner
Apache License 2.0
0 stars 0 forks source link

Get infrastructure status returns 400 if waiting to be deployed #11

Closed alahiff closed 5 years ago

alahiff commented 5 years ago

Due to the fixed size process pool, if there are lots of simultaneous some infrastructures will be waiting for deployment to start. During this time any status checks will return 400.

alahiff commented 5 years ago

Maybe insert into DB immediately, then run the deployment in the pool?

alahiff commented 5 years ago

This should be fixed with this commit: https://github.com/prominence-eosc/imc/commit/d8132c2cb87b7bdb9a311a6da560eace4efb45d8