Skip to content

Commit 91d230b

Browse files
authored
Merge pull request #1516 from forcedotcom/jj/W-15639963
FIX (GraphEngine): @W-15639963@: Switching the sfge caching to be disabled by default
2 parents 762d652 + c714f18 commit 91d230b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

sfge/src/main/java/com/salesforce/config/EnvUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public final class EnvUtil {
4141

4242
@VisibleForTesting static final String DEFAULT_FILES_TO_ENTRIES_CACHE_LOCATION = ".sfge-cache" + File.separator + "fileToEntryMapData.json";
4343

44-
@VisibleForTesting static final boolean DEFAULT_DISABLE_CACHING = false;
44+
@VisibleForTesting static final boolean DEFAULT_DISABLE_CACHING = true;
4545

4646

4747
/**

sfge/src/test/java/com/salesforce/cli/CacheCreatorTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ void setUp() {
3333
public String getFilesToEntriesCacheLocation() {
3434
return DUMMY_FILE_NAME;
3535
}
36+
public boolean isCachingDisabled() {
37+
return false;
38+
}
3639
});
3740
}
3841

0 commit comments

Comments
 (0)