FIX: match prune time for cleanup with description
authorSam Saffron <sam.saffron@gmail.com>
Mon, 8 Feb 2021 01:04:01 +0000 (12:04 +1100)
committerRafael dos Santos Silva <xfalcox@gmail.com>
Thu, 18 Feb 2021 17:03:30 +0000 (14:03 -0300)
Previously docs said we prune after 24 hours but we pruned after 1 hour.

launcher

index 8a3e51282e30ff10e3fb1b12a82de2d5d67aecda..defb2cf36f20e0ffb91bb4a59147a232f76527c5 100755 (executable)
--- a/launcher
+++ b/launcher
@@ -244,8 +244,8 @@ check_prereqs() {
       echo
       if [[ $REPLY =~ ^[Yy]$ ]]
       then
-        $docker_path container prune --force --filter until=1h >/dev/null
-        $docker_path image prune --all --force --filter until=1h >/dev/null
+        $docker_path container prune --force --filter until=24h >/dev/null
+        $docker_path image prune --all --force --filter until=24h >/dev/null
         echo "If the cleanup was successful, you may try again now"
       fi
     fi