Skip to content

Commit e7ab93d

Browse files
committed
close cache connection
1 parent 0a7b167 commit e7ab93d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,5 @@ def __str__(self):
8383
def save(self, **kwargs):
8484
"""Override save to reset the throttles cache"""
8585
cache.delete(CONSUMER_THROTTLES_KEY)
86+
cache.close()
8687
return super().save(**kwargs)

0 commit comments

Comments
 (0)