Skip to content

Commit

Permalink
修复日志过多出现卡顿问题
Browse files Browse the repository at this point in the history
  • Loading branch information
wushuo894 committed Oct 11, 2024
1 parent 146f28e commit cdfd0f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/com/emby/util/LogUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,11 @@
import java.util.Date;
import java.util.List;
import java.util.Objects;
import java.util.concurrent.CopyOnWriteArrayList;

@Slf4j
public class LogUtil {

public static final List<Log> LOGS = Collections.synchronizedList(new FixedSizeLinkedList<>(4096));
public static final List<Log> LOGS = Collections.synchronizedList(new FixedSizeLinkedList<>(2048));

public static void loadLogback() {
Config config = ConfigUtil.CONFIG;
Expand Down

0 comments on commit cdfd0f9

Please sign in to comment.