Pavel Gromov

Results 6 comments of Pavel Gromov

Hi @rbuzu Problem with `channel_session_user` attribute of `channels.binding.base.Binding` class, by default it `True`, need `False`. When `channel_session_user = True`, binding handler wraps by `channels.auth.channel_session_user` decorator, and it resets the your...

If you're using AdBlock, it can close tab with blob url ;(

Hi @dengshaochun. I tried to reproduce the bug but the code works. There are suspicions that the problem is in the name of topic. Here my example: https://github.com/gromsterus/issues-sandbox/tree/main/pulsar-client-python-150 I [use](https://github.com/gromsterus/issues-sandbox/blob/main/pulsar-client-python-150/case/tasks.py#L31)...

@charlieevett 1. How do you run uwsgi? Could you share an example config? 2. How do you initiate and close a pulsar client? Could you share a code example?

I [reproduced](https://github.com/gromsterus/issues-sandbox/blob/main/pulsar-client-python-153/case.py) the bug. It's similar to https://github.com/unbit/uwsgi/issues/1969. I see two possible fast solutions: 1. Mv from `dict` state to `object` ([code](https://github.com/gromsterus/issues-sandbox/blob/main/pulsar-client-python-153/case_fixed_ext.py)). Now segfaults gone: ``` ...The work of process...

Hi, @whisust. Gunicorn fork main process on worker init, because of this, your approach won't work :( You could use [Flask Extensions Pattern](https://flask.palletsprojects.com/en/2.2.x/extensiondev/) & [Gunicorn Server Hooks](https://docs.gunicorn.org/en/stable/settings.html#server-hooks) together ```python #...