فهرست منبع

Set UtilizeCache to false on cache miss
Signed-off-by: Anandkumar Patel <anandkumarpatel@gmail.com>

Signed-off-by: AnandkumarPatel <anandkumarpatel@gmail.com>

AnandkumarPatel 10 سال پیش
والد
کامیت
1e746a8a2b
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      builder/internals.go

+ 2 - 0
builder/internals.go

@@ -512,6 +512,8 @@ func (b *Builder) probeCache() (bool, error) {
 			return true, nil
 			return true, nil
 		} else {
 		} else {
 			log.Debugf("[BUILDER] Cache miss")
 			log.Debugf("[BUILDER] Cache miss")
+			// after a miss we no longer need to probe
+			b.UtilizeCache = false
 		}
 		}
 	}
 	}
 	return false, nil
 	return false, nil