Administrator
2026-08-13 c1d984b2a937f8d3bfe94a9ec724f438994fe6bd
src/main/java/com/xcong/excoin/modules/gateApi/GateLogBuffer.java
@@ -1,6 +1,7 @@
package com.xcong.excoin.modules.gateApi;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.stereotype.Service;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;
@@ -17,6 +18,7 @@
 * 最多保留 500 条日志,新客户端连接时先推送历史再持续推新日志。
 */
@Slf4j
@ConditionalOnProperty(name = "app.gate.enabled", havingValue = "true", matchIfMissing = true)
@Service
public class GateLogBuffer {