mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-31 09:48:01 -05:00
LinksByUrl: make column values empty string.
This halves the storage cost of LinksByUrl and has no downside as the data was redundant.
This commit is contained in:
@@ -102,7 +102,7 @@ class Link(Thing, Printable):
|
||||
def set_url_cache(self):
|
||||
if self.url != 'self':
|
||||
LinksByUrl._set_values(LinksByUrl._key_from_url(self.url),
|
||||
{self._id36: self._id36})
|
||||
{self._id36: ''})
|
||||
|
||||
@property
|
||||
def already_submitted_link(self):
|
||||
|
||||
Reference in New Issue
Block a user