From 61cac82fbdd2c30fa8c77decaa1a96b619e90427 Mon Sep 17 00:00:00 2001 From: Jordan Atwood Date: Thu, 27 Apr 2023 18:30:44 -0700 Subject: [PATCH] Reduce RuneLite rebuild script max age to 18 hours This will mean that a client built one morning will almost always yield another build the next day (assuming there are changes for it to be necessary) even if it goes from being built late one morning to early the next morning. Despite that, 18 hours is still long enough that a client build will be used for roughly a full day. --- src/.bin/open-runelite.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/.bin/open-runelite.sh b/src/.bin/open-runelite.sh index c9e1fb2..d51dba2 100755 --- a/src/.bin/open-runelite.sh +++ b/src/.bin/open-runelite.sh @@ -18,7 +18,7 @@ BRANCHES_TO_MERGE=( quest-speedrunning-widget-overlays fixed-thrall-timer ) -MAX_AGE_BEFORE_REBUILD="$(( 24 * 60 * 60 ))" # 1 day +MAX_AGE_BEFORE_REBUILD="$(( 18 * 60 * 60 ))" # 18 hours UPSTREAM_REMOTE='upstream' UPSTREAM_BRANCH='master' for branch in "${BRANCHES_TO_MERGE[@]}"; do