Merge remote-tracking branch 'origin/sub_laptop_1' into main_laptop_1

This commit is contained in:
2026-09-07 04:56:24 +09:00
+3 -3
View File
@@ -214,7 +214,6 @@ async def save_sections(
통째로 버려져 조작값이 사라진다. 그래서 여기서 정본 행을 만든다.
"""
pool = get_db_pool()
marks = [("시작", time.perf_counter())]
try:
async with pool.acquire() as connection:
existing = await get_longitudinal_section(connection, project_id, route_id)
@@ -243,8 +242,6 @@ async def save_sections(
request.standard_cross_section if request else None,
)
marks.append(("기본설계 계산(미지정 측점)", time.perf_counter()))
async with pool.acquire() as connection:
await connection.begin()
try:
@@ -287,6 +284,7 @@ async def confirm_sections(
자동 계산 체인용 — 데이터만 확정하고 stage 3을 IN_PROGRESS(검토 대기)로 남긴다.
"""
pool = get_db_pool()
marks = [("시작", time.perf_counter())]
try:
async with pool.acquire() as connection:
existing = await get_longitudinal_section(connection, project_id, route_id)
@@ -321,6 +319,8 @@ async def confirm_sections(
request.standard_cross_section if request else None,
)
marks.append(("기본설계 계산(미지정 측점)", time.perf_counter()))
async with pool.acquire() as connection:
await connection.begin()
try: