gevent pool Celery worker 에서 asyncio.run() 이 간헐적으로 터지는 이유
RuntimeError: asyncio.run() cannot be called from a running event loop — 단일 호출은 멀쩡한데 동시 실행에서만 터지는 race condition 정리
RuntimeError: asyncio.run() cannot be called from a running event loop — 단일 호출은 멀쩡한데 동시 실행에서만 터지는 race condition 정리
brpop 응답을 제때 읽지 않으면 epoll이 무한 트리거되어 CPU가 폭주하는 문제
sync_to_async의 thread_sensitive 옵션이 Django DB connection 관리에 미치는 영향