HomeSoftware Heritage

Refresh save code now statuses periodically

Description

Refresh save code now statuses periodically

Without the following, as currently, the fresh new build from swh.web 0.0.302 onward,
new save code now requests are not updated anymore through the ui. The following makes
sure the status are updated periodically (15s).

This simply loops through indefinitely and periodically updates in db the save code now
request statuses. As installing a cron was deemed unnecessary [1]

This is the equivalent of what's been deployed in production [2]

[1] D5615

[2] D5616

Related to T3280

Details

Provenance
ardumontAuthored on Apr 29 2021, 10:43 AM
ardumontPushed on Apr 29 2021, 11:02 AM
Differential Revision
D5641: docker-dev: Refresh save code now statuses periodically
Parents
rDENVd88b9582778e: docker: Remove noise from the console logs
Branches
Unknown
Tags
Unknown
Tasks
T3280: Separate save code now request updates from the save code now ui