File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,12 +84,12 @@ def should_install(self) -> bool:
8484 dest_dir = self .install_context .destination / self .install_path
8585 if os .path .exists (dest_dir ):
8686 dtime = datetime .fromtimestamp (dest_dir .stat ().st_mtime )
87- # The fudge factor of 30m is to sort of account for the installation time. Else
87+ # The fudge factor of 90m is to sort of account for the installation time. Else
8888 # we start up the same time the next day and we get a 23hr58 minute old build and we
8989 # don't reinstall.
90- age = datetime .now () - dtime + timedelta (minutes = 30 )
90+ age = datetime .now () - dtime + timedelta (minutes = 90 )
9191 self ._logger .info ("Nightly build %s is %s old" , dest_dir , age )
92- if age . days > self .nightly_install_days :
92+ if age > timedelta ( days = self .nightly_install_days ) :
9393 return True
9494 return super ().should_install ()
9595
You can’t perform that action at this time.
0 commit comments