Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Commit

Permalink
stage-6: fix ExpirationTest - add a secondary configuration construct…
Browse files Browse the repository at this point in the history
…or with compression disabled
  • Loading branch information
vitekkor committed Jan 9, 2024
1 parent adf881d commit 348d94f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/ru/vk/itmo/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ public record Config(
long flushThresholdBytes,
CompressionConfig compressionConfig
) {
public Config(
Path basePath,
long flushThresholdBytes
) {
this(basePath, flushThresholdBytes, Config.disableCompression());
}

public record CompressionConfig(
boolean enabled,
Compressor compressor,
Expand Down

0 comments on commit 348d94f

Please sign in to comment.