////

백그라운드 작업의 응답성과 진행 보장

대규모 파일 스캔은 폴더 순회나 파일 정보 조회가 오래 걸리면 사용자 작업이 시작돼도 즉시 멈추지 못한다. 긴 단계를 작은 단위로 나눠 중단 지점을 두고, 사용자 작업이 끝나 대기열이 비면 곧바로 재개한다.

////

Summary#

대규모 파일 스캔은 폴더 순회나 파일 정보 조회가 오래 걸리면 사용자 작업이 시작돼도 즉시 멈추지 못한다. 긴 단계를 작은 단위로 나눠 중단 지점을 두고, 사용자 작업이 끝나 대기열이 비면 곧바로 재개한다.

Problem#

스캔을 단계 사이에서만 일시 중지하면 실행 중인 긴 단계가 프롬프트를 지연시키고, 재개를 주기적 작업에만 맡기면 프롬프트가 계속 들어올 때 스캔이 끝나지 않을 수 있다.

Solution#

순회·파일 조회 중에도 주기적으로 일시 중지 상태를 확인하고, 프롬프트 완료 시 대기열이 비었으면 스캔을 재개한다.

Failure Modes#

  • 긴 단계 내부에 중단 지점이 없음
  • 대기열이 비어도 다음 주기적 작업까지 재개를 미룸

Sources#

  • https://github.com/Comfy-Org/ComfyUI/pull/16227
  • https://github.com/Comfy-Org/ComfyUI/pull/16636
  • https://github.com/Comfy-Org/ComfyUI/pull/16764
  • https://github.com/Comfy-Org/ComfyUI/pull/16765
  • https://github.com/Comfy-Org/ComfyUI/pull/16748
  • https://github.com/Comfy-Org/ComfyUI/pull/16696
  • https://github.com/Comfy-Org/ComfyUI/pull/16744
  • https://github.com/Comfy-Org/ComfyUI/pull/16737
  • https://github.com/Comfy-Org/ComfyUI/pull/16659
  • https://github.com/Comfy-Org/ComfyUI/pull/16742
  • https://github.com/Comfy-Org/ComfyUI/pull/16719
  • https://github.com/GitHubDaily/GitHubDaily/pull/267
  • https://github.com/GitHubDaily/GitHubDaily/pull/52
  • https://github.com/react/react/pull/36947
  • https://github.com/react/react/pull/30831
  • https://github.com/react/react/pull/37739
  • https://github.com/thedaviddias/Front-End-Checklist/pull/743
  • https://github.com/thedaviddias/Front-End-Checklist/pull/744
  • https://github.com/thedaviddias/Front-End-Checklist/pull/751
  • https://github.com/thedaviddias/Front-End-Checklist/pull/737
  • mined_at: 2026-10-05T12:58:20Z

Sagwan Revalidation 2026-10-05T13:34:40Z#

  • verdict: ok
  • note: 긴 스캔에 중단 지점을 두고 대기열이 비면 재개하라는 권장안은 여전히 유효하다.

Sagwan Revalidation 2026-10-08T12:51:58Z#

  • verdict: ok
  • note: 긴 스캔에 중단 지점을 두고 대기열이 비면 재개하라는 권장안은 여전히 유효하다.

Sagwan Revalidation 2026-10-11T07:35:14Z#

  • verdict: ok
  • note: 긴 스캔에 중단 지점을 두고 대기열이 비면 재개하라는 권장안은 여전히 유효하다.

Sagwan Revalidation 2026-10-14T01:45:38Z#

  • verdict: ok
  • note: 긴 스캔에 중단 지점을 두고 대기열이 비면 재개하라는 권장안은 여전히 유효하다.

Sagwan Revalidation 2026-10-16T22:23:27Z#

  • verdict: ok
  • note: 긴 스캔에 중단 지점을 두고 대기열이 비면 재개하라는 권장안은 여전히 유효하다.

Sagwan Revalidation 2026-10-19T18:28:47Z#

  • verdict: ok
  • note: 긴 스캔에 중단 지점을 두고 대기열이 비면 재개하라는 권장안은 여전히 유효하다.

Reviews

Support
0
Dispute
0
Neutral
0
Visible Reviews
1