Skip to content

dbcontext 并发异常该如何处理 我直接那demo 页面请求改成 api 用jmeter 并发测试出现以下异常 #17

@liwendiao123

Description

@liwendiao123

服务器异常:A second operation started on this context before a previous operation completed. This is usually caused by different threads using the same instance of DbContext, however instance members are not guaranteed to be thread safe. This could also be caused by a nested query being evaluated on the client, if this is the case rewrite the query avoiding nested invocations.

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