Skip to content

Commit

Permalink
Revert caching change
Browse files Browse the repository at this point in the history
  • Loading branch information
droberts195 committed Jan 11, 2024
1 parent 606e415 commit a191d95
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions x-pack/plugin/ml/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,7 @@ if (useDra == false) {

configurations {
nativeBundle {
// See https://github.com/elastic/elasticsearch/issues/104193#issuecomment-1885295733
// for an example of why we cannot safely cache locally. When all of the ml-cpp files
// were in the same zip it was possible, but now they're spread between two zips local
// caching can result in an inconsistency that causes hard-to-debug breakages.
resolutionStrategy.cacheChangingModulesFor 0, 'hours'
resolutionStrategy.cacheChangingModulesFor 2, 'hours'
}
}

Expand Down

0 comments on commit a191d95

Please sign in to comment.