mirror of
https://github.com/django/daphne.git
synced 2025-07-11 00:12:18 +03:00
commit
db602d3615
|
@ -32,7 +32,7 @@ class RedisChannelBackend(BaseChannelBackend):
|
||||||
channel = channel.decode('utf-8')
|
channel = channel.decode('utf-8')
|
||||||
|
|
||||||
# Write out message into expiring key (avoids big items in list)
|
# Write out message into expiring key (avoids big items in list)
|
||||||
key = self.prefix + uuid.uuid4().get_hex()
|
key = self.prefix + str(uuid.uuid4())
|
||||||
self.connection.set(
|
self.connection.set(
|
||||||
key,
|
key,
|
||||||
json.dumps(message),
|
json.dumps(message),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user