优化notify性能,增加notify超出处理能力时直接回复错误码,不做处理。

This commit is contained in:
648540858
2023-04-19 11:09:26 +08:00
parent cf1696e0d6
commit db2ccfedfa
9 changed files with 451 additions and 40 deletions

View File

@@ -62,6 +62,8 @@ public class UserSetting {
private List<String> allowedOrigins = new ArrayList<>();
private int maxNotifyCountQueue = 10000;
public Boolean getSavePositionHistory() {
return savePositionHistory;
}
@@ -257,4 +259,12 @@ public class UserSetting {
public void setRecordPath(String recordPath) {
this.recordPath = recordPath;
}
public int getMaxNotifyCountQueue() {
return maxNotifyCountQueue;
}
public void setMaxNotifyCountQueue(int maxNotifyCountQueue) {
this.maxNotifyCountQueue = maxNotifyCountQueue;
}
}