Skip to content

uwsgi requires 'enable-threads = true' when 'use_queues' #189

@jimdigriz

Description

@jimdigriz

Though to a varying degree an obvious statement, as uWSGI disables Python threads by default, if use_queues is enabled (the default) you are not going to see much in the way of logs in Cloudwatch.

It would be helpful, maybe near to your AWS Lambda caveat, that for uWSGI this is mentioned and that the user should add enable-threads = true to their uWSGI INI file.

Better still would be for when threading is not available to refuse to start when use_queues is enabled, or print a large warning to STDERR that use_queues was automatically disabled.

Alas, I am not going to get that hour of my life back.

Thanks for the marvellous work otherwise.

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