Skip to content
This repository was archived by the owner on Jan 19, 2024. It is now read-only.
This repository was archived by the owner on Jan 19, 2024. It is now read-only.

Asynchronous ORM access #3

Description

@D3f0

As far as I'm concerned Django ORM does not support asynchronous operation, so https://github.com/peterbe/django-sockjs-tornado/blob/master/example/project/chat/sockserver.py#L19 would block the socketserver process in your example.
I don't know if tornado has something similar to Twisted's deferToThread in its tornado.gen package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions