Skip to content

[Bug] There is a data race in module taskmanager causing non-deterministic behavior under concurrency #84

@stone-zhang-22

Description

@stone-zhang-22

In taskmanager/memory.go, the storeMessage method uses conversationMu, but the CleanExpiredConversations method uses mu. This leads to a data race on m.Conversations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions