Skip to content

fix bug when starting multiple instances in team mode #36

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DeveloperOl
Copy link

When checking if a container is already running for this user the service crashes in team mode when multiple containers are started by different teams.

Tested on 3.7.7

@AbuCTF
Copy link

AbuCTF commented Jul 5, 2025

Great catch, @DeveloperOl . The added check for team_id within is_teams_mode() resolves the conflict cleanly and avoids the race condition when multiple teams start containers simultaneously. I tested this against 3.7.7 in team mode, and it prevents the service crash we were seeing.
image

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.

2 participants