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

handler.py 에서 논스값 계산시에 문제가 있음 #387

Open
ipdae opened this issue Mar 15, 2025 · 0 comments
Open

handler.py 에서 논스값 계산시에 문제가 있음 #387

ipdae opened this issue Mar 15, 2025 · 0 comments

Comments

@ipdae
Copy link
Member

ipdae commented Mar 15, 2025

https://github.com/planetarium/NineChronicles.IAP/blob/development/worker/worker/handler.py#L168-L186

논스를 갱신하는 부분에 문제가 있어 db에 중간 논스가 없는 상태로 tx를 찍어내는 문제가 발생합니다. 현재는 핫픽스로 session.commit을 session.add 바로 밑에서 함께 처리하게 해놔서 추가발생을 방지해놨습니다만 방식자체의 개선이 필요합니다.

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

No branches or pull requests

1 participant