From 8ff3c63376f98589c7b4a74753caa43ece96c464 Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Thu, 8 Jun 2023 22:53:16 +0000 Subject: [PATCH] Revert "mk2rbc: temporarily bump matching paths limit to 155. " This reverts commit 30d48351be1fecf7c3a4b9a7fbc95198cd348169. Reason for revert: The underlying issue was fixed in ag/23603641 Change-Id: Ibe2749c3bb7412132de6d96d178f54cd8d1d0666 --- mk2rbc/mk2rbc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk2rbc/mk2rbc.go b/mk2rbc/mk2rbc.go index c0ae0c0fe..8225df60d 100644 --- a/mk2rbc/mk2rbc.go +++ b/mk2rbc/mk2rbc.go @@ -870,7 +870,7 @@ func (ctx *parseContext) handleSubConfig( } // Safeguard against $(call inherit-product,$(PRODUCT_PATH)) - const maxMatchingFiles = 155 // temporarily increased to 155 for b/284854738 + const maxMatchingFiles = 150 if len(matchingPaths) > maxMatchingFiles { return []starlarkNode{ctx.newBadNode(v, "there are >%d files matching the pattern, please rewrite it", maxMatchingFiles)} }