Skip to content

Error messages when calling Client in async environment OR locking #33

@KonnikPahoni

Description

@KonnikPahoni

Story

I am using this beautiful client in the last months and today I found a bug in our system. This costed me and our partners a lot of time and efforts. We were chasing this bug for two months.

I was creating a single Client instance for the app, which is a usual practice. Then I was calling the instance of Client first with threads, then in asynchronous environment. For two months. At the end it appeared that the problem is related to using qlient.

Problem

Users expect the Client to either implement locking mechanism, or to disallow calling Client from async environment.

Solution

Raise errors when calling Client instance from async environment.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions