Page MenuHomeSoftware Heritage

Ensure swh-web is started before trying to refresh the save code now statuses
ClosedPublic

Authored by vsellier on Dec 7 2021, 3:33 PM.

Diff Detail

Repository
rDENV Development environment
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ardumont added a subscriber: ardumont.

lgtm

One question though, don't we have to add also the following to the container swh-web-cron?

swh-web-cron:
   ...
  depends_on:
    - swh-web
This revision is now accepted and ready to land.Dec 7 2021, 3:34 PM

the dependency is already declared on the docker-compose, it just ensure the container is started before launching swh-web-cron, not the service is well initialized and responding.

One question though, don't we have to add also the following to the container swh-web-cron?

oops, my bad, It's already there ;)