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

[BUG] .Get() — fatal error: concurrent map writes #287

Open
1 task done
woozie opened this issue Mar 3, 2025 · 0 comments
Open
1 task done

[BUG] .Get() — fatal error: concurrent map writes #287

woozie opened this issue Mar 3, 2025 · 0 comments
Labels

Comments

@woozie
Copy link

woozie commented Mar 3, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hello

Please tell me, is this a bug or planned behavior?

I have a project with GraphQL subscriptions and sometimes when several subscriptions are launched at the same time I get this error

Image

Or should i make mutexes myself?

Expected Behavior

No response

Steps To Reproduce

I have similar code like below in all 3 event publishers

session := sessions.Default(ginContext)
userId := session.Get(awConfig.SessionKeyUserId).(uint)
status := make(chan *model.CustomerTypingStatus, 1)
uniqueEventUuid := uuid.NewString()

Anything else?

No response

@woozie woozie added the bug label Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant