Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
popduke committed Mar 19, 2024
1 parent 8c3b21d commit 5af24b0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ abstract class AbstractMQTTBrokerBuilder<T extends AbstractMQTTBrokerBuilder<T>>
long writeLimit = 512 * 1024;
long readLimit = 512 * 1024;
int maxBytesInMessage = 256 * 1024;
private int maxResendTimes = 5;
int mqttBossELGThreads;
int mqttWorkerELGThreads;
IAuthProvider authProvider;
Expand Down Expand Up @@ -129,13 +128,8 @@ public T maxBytesInMessage(int maxBytesInMessage) {
return thisT();
}

public T maxResendTimes(int maxResendTimes) {
this.maxResendTimes = maxResendTimes;
return thisT();
}

public T mqttBossELGThreads(int mqttWorkerELGThreads) {
this.mqttBossELGThreads = mqttWorkerELGThreads;
public T mqttBossELGThreads(int mqttBossELGThreads) {
this.mqttBossELGThreads = mqttBossELGThreads;
return thisT();
}

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import com.baidu.bifromq.sysprops.parser.IntegerParser;
import com.baidu.bifromq.sysprops.parser.LongParser;
import com.baidu.bifromq.sysprops.parser.PropParser;
import java.time.Duration;
import lombok.extern.slf4j.Slf4j;

@Slf4j
Expand Down

0 comments on commit 5af24b0

Please sign in to comment.