Browse Source

Disconnect when done with status consumer.

feature/long-poll-status
Daniel Perelman 2 years ago
parent
commit
8aba4f8529
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      fear_tracker/views.py

+ 1
- 0
fear_tracker/views.py View File

@@ -382,3 +382,4 @@ class StatusLongPollConsumer(AsyncHttpConsumer):
await self.send_response(302, b'', headers=[
(b"Location", no_hash_status.encode('utf-8'))
])
await self.http_disconnect(None)

Loading…
Cancel
Save