Files
hackerthon-vote/app.py
th-kim0823 3f40f3f47a feat: 동시성 + UX + 결과 백업 보강
#14 이미 투표한 사람 UX
- selectbox에  마크
- 선택 시 친절한 에러 (재투표 불가 안내, 진행자 문의 가이드)

#15 SQLite WAL 모드
- get_conn에서 PRAGMA journal_mode = WAL
- synchronous = NORMAL (성능 + 안전 균형)
- 동시 read/write 충돌 방지 (35명 동시 제출 안전)
- timeout 10초 (busy 시 retry)

#17 시상 결과 archive
- ceremony 진입 시 1회 winners를 results_<timestamp>.json 저장
- DB 손실 보험. 위치: /data 볼륨

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-25 23:42:36 +09:00

26 KiB