From 5f83cd0f7b2911705eaf1a8cb9060afbee6eb456 Mon Sep 17 00:00:00 2001 From: Miguel Grinberg Date: Mon, 2 Sep 2024 22:59:14 +0100 Subject: [PATCH] Renamed flask-socketio references to python-socketio (Fixes #1377) --- examples/server/sanic/app.html | 4 ++-- examples/server/wsgi/templates/index.html | 4 ++-- src/socketio/kombu_manager.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/server/sanic/app.html b/examples/server/sanic/app.html index 0f58a083..30c59643 100644 --- a/examples/server/sanic/app.html +++ b/examples/server/sanic/app.html @@ -1,7 +1,7 @@ - Flask-SocketIO Test + Python-SocketIO Test -

Flask-SocketIO Test

+

Python-SocketIO Test

Send:

diff --git a/examples/server/wsgi/templates/index.html b/examples/server/wsgi/templates/index.html index bec1a628..8a7308af 100644 --- a/examples/server/wsgi/templates/index.html +++ b/examples/server/wsgi/templates/index.html @@ -1,7 +1,7 @@ - Flask-SocketIO Test + Python-SocketIO Test -

Flask-SocketIO Test

+

Python-SocketIO Test

Send:

diff --git a/src/socketio/kombu_manager.py b/src/socketio/kombu_manager.py index 0a63bc26..09e260c9 100644 --- a/src/socketio/kombu_manager.py +++ b/src/socketio/kombu_manager.py @@ -86,7 +86,7 @@ def _exchange(self): return kombu.Exchange(self.channel, **options) def _queue(self): - queue_name = 'flask-socketio.' + str(uuid.uuid4()) + queue_name = 'python-socketio.' + str(uuid.uuid4()) options = {'durable': False, 'queue_arguments': {'x-expires': 300000}} options.update(self.queue_options) return kombu.Queue(queue_name, self._exchange(), **options)