....
This commit is contained in:
@@ -624,7 +624,7 @@ object TradingLogStore {
|
||||
val lastSentTime = noticeFilter[code.uppercase()]
|
||||
|
||||
// 기록이 없거나(처음 보냄), 마지막 발송 기준 30분이 지났다면
|
||||
if (lastSentTime == null || (current - lastSentTime > 1000 * 60 * 30L)) {
|
||||
if (lastSentTime == null || (current - lastSentTime > (1000 * 60) * KisSession.tradeConfig.noticeGapTime)) {
|
||||
isSendable = true
|
||||
noticeFilter[code.uppercase()] = current // 즉시 발송 시간 갱신하여 중복 방지
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user