feat: do not generate a stream that will be processed right after

This commit is contained in:
pedroluiznogueira 2023-04-01 02:10:48 -03:00
parent ec83d01dca
commit 5c4844e29a

View File

@ -253,8 +253,8 @@ public class EarlybirdFeatureSchemaMerger {
// We do not need checksum for exported vars as all cached schemas are from the majority of the
// responses.
featureSchemas.keySet().stream().forEach(key -> exportedVersions.add(key.getVersion()));
exportedVersions.stream().forEach(version -> {
featureSchemas.keySet().forEach(key -> exportedVersions.add(key.getVersion()));
exportedVersions.forEach(version -> {
builder.append('_');
builder.append(version);
});