From f23fbcd6d19de4490fa3a1e9d7b18fc6d1807219 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Wed, 8 May 2019 22:30:41 -0400 Subject: [PATCH] clear file checksum cache less frequently - #92 --- lib/rscons/environment.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/rscons/environment.rb b/lib/rscons/environment.rb index 08b6708..ca0178f 100644 --- a/lib/rscons/environment.rb +++ b/lib/rscons/environment.rb @@ -262,6 +262,7 @@ module Rscons # # @return [void] def process + Cache.instance.clear_checksum_cache! @process_failures = [] @process_blocking_wait = false @process_commands_waiting_to_run = [] @@ -594,9 +595,6 @@ module Rscons # # @return [void] def run_builder(builder) - # TODO: have Cache determine when checksums may be invalid based on - # file size and/or timestamp. - Cache.instance.clear_checksum_cache! unless builder.nop? builder.build_step ||= Rscons.application.get_next_build_step end