Skip to content

Commit

Permalink
Renamed flask-socketio references to python-socketio (Fixes #1377)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Sep 2, 2024
1 parent bd5c1c4 commit 5f83cd0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions examples/server/sanic/app.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Flask-SocketIO Test</title>
<title>Python-SocketIO Test</title>
<script type="text/javascript" src="//code.jquery.com/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/socket.io/4.7.2/socket.io.min.js"></script>
<script type="text/javascript" charset="utf-8">
Expand Down Expand Up @@ -54,7 +54,7 @@
</script>
</head>
<body>
<h1>Flask-SocketIO Test</h1>
<h1>Python-SocketIO Test</h1>
<h2>Send:</h2>
<form id="emit" method="POST" action='#'>
<input type="text" name="emit_data" id="emit_data" placeholder="Message">
Expand Down
4 changes: 2 additions & 2 deletions examples/server/wsgi/templates/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Flask-SocketIO Test</title>
<title>Python-SocketIO Test</title>
<script type="text/javascript" src="//code.jquery.com/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/socket.io/4.7.2/socket.io.min.js"></script>
<script type="text/javascript" charset="utf-8">
Expand Down Expand Up @@ -54,7 +54,7 @@
</script>
</head>
<body>
<h1>Flask-SocketIO Test</h1>
<h1>Python-SocketIO Test</h1>
<h2>Send:</h2>
<form id="emit" method="POST" action='#'>
<input type="text" name="emit_data" id="emit_data" placeholder="Message">
Expand Down
2 changes: 1 addition & 1 deletion src/socketio/kombu_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5f83cd0

Please sign in to comment.