Skip to content

Commit ad623ba

Browse files
committed
Set default maxDownloadSizeBytes and maxUploadSizeBytes to 400MB because that is about the largest amount of data that can be stored in a Binary resource in DSF 1.x.
1 parent a643d9b commit ad623ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/dev/dsf/bpe/spring/config/PingConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ public class PingConfig
6262
private boolean sendPongProcessFailedMail;
6363

6464
@ProcessDocumentation(description = "Sets the download limit on resource downloads, essentially limiting the amount of data downloaded from other ping instances. Setting this to a negative value will disable resource downloads, effectively resulting in running the slim (\"old\") ping process.", processNames = "dsfdev_ping, dsfdev_pong")
65-
@Value("${dev.dsf.bpe.ping.maxDownloadSizeBytes:10000000}")
65+
@Value("${dev.dsf.bpe.ping.maxDownloadSizeBytes:400000000}")
6666
private long maxDownloadSizeBytes;
6767

6868
@ProcessDocumentation(description = "Sets the upload limit on resource uploads, essentially limiting the amount of data other ping instances are able to download from this instance.", processNames = {
6969
"dsfdev_ping", "dsfdev_pong" })
70-
@Value("${dev.dsf.bpe.ping.maxUploadSizeBytes:10000000}")
70+
@Value("${dev.dsf.bpe.ping.maxUploadSizeBytes:400000000}")
7171
private long maxUploadSizeBytes;
7272

7373
@ProcessDocumentation(description = "Unit to display upload and download speeds in. Eligible values are: \"bps\", \"kbps\", \"Mbps\", \"Gbps\", \"Bps\", \"kBps\", \"MBps\", \"GBps\". Default is \"mbps\".", processNames = {

0 commit comments

Comments
 (0)