Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[modify] multiprocessing #67

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

leeseungchae
Copy link
Contributor

KSS를 멀티프로세싱 환경에서 실행하려고 할 때, WSGI 상태에서는 동기 방식으로 동작하기 때문에 문제가 없습니다.
그러나 ASGI 상태에서는 비동기 방식으로 동작하여 KSS 작업이 완료되지 않은 상태에서 코드가 종료되는 현상이 발생합니다.
이 문제를 해결하기 위해, 모든 프로세스가 완료될 때까지 대기한 후에 결과를 반환하는 방식으로 코드를 수정하였습니다.

@hyunwoongko hyunwoongko merged commit fc13b86 into hyunwoongko:main Jul 14, 2023
@hyunwoongko
Copy link
Owner

4.5.4로 배포되었습니다. 감사합니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants