추세검색 설정 수정

This commit is contained in:
Macbook
2026-05-27 02:10:00 +09:00
parent 2e08c6b16f
commit fc06a16184
27 changed files with 1262 additions and 147 deletions
@@ -90,6 +90,11 @@ goldenchart:
stale-tick-seconds: 30
gap-backfill-cron: "0 */5 * * * *"
gap-backfill-candle-count: 20
trend-search:
scheduler:
enabled: true
tick-ms: 1000
queue-capacity: 16
cors:
allowed-origins:
- http://localhost:5173
@@ -0,0 +1,11 @@
-- 추세검색 스캔 결과 스냅샷 (백엔드 스케줄러·수동 스캔 공통)
CREATE TABLE gc_trend_search_snapshot (
scope_key VARCHAR(128) NOT NULL PRIMARY KEY,
user_id BIGINT NULL,
device_id VARCHAR(100) NULL,
timeframe VARCHAR(16) NOT NULL,
scanned_at TIMESTAMP(3) NOT NULL,
request_json JSON NULL,
results_json JSON NOT NULL,
INDEX idx_trend_snapshot_scanned (scanned_at)
);