+
Skip to content

fix: add exclusive lock #117

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

Merged
merged 1 commit into from
Dec 10, 2024
Merged

fix: add exclusive lock #117

merged 1 commit into from
Dec 10, 2024

Conversation

timerring
Copy link
Owner

Description

Add an exclusive lock on the queue when upload process reads and writes the queue.
Besides, when upload the first segments, return and wait for 20 seconds to make sure that can get the query biv.

Related Issues

fix #116

Who Can Review?

@timerring

Checklist

  • Code has been reviewed
  • Code complies with the project's code standards and best practices
  • Code has passed all tests
  • Code does not affect the normal use of existing features
  • Code has been commented properly
  • Documentation has been updated (if applicable)
  • Demo/checkpoint has been attached (if applicable)

@timerring timerring self-assigned this Dec 10, 2024
Copy link
Owner Author

@timerring timerring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, wait for test.

@timerring timerring merged commit 718f377 into main Dec 10, 2024
@timerring timerring deleted the dev branch December 10, 2024 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Read and write in different process will lead to conflicts
1 participant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载