forked from reddit-archive/reddit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Cassandra * Add new cassandra libraries that we'll need to setup.py * Select Cassandra seeds at random rather than in order * Bugfix in CassandraCache.delete and a faster permacache migration function * Like other caches, CassandraCaches need to be able to take (and ignore) a 'time' parameter * add Cassandra to the permacache chain * beginning of jury duty (later called deputy moderation) Additions: * Make /r/friends much cheaper at the expense of sorting * Add Jury.delete_old(), which removes Account-Trial relations > 3 days old * Make the pretty_button() template function's callback optional, so that actionless pretty-buttons can be used on the admin details page * make .embed listings work for permalink pages (think of this as a first pass to getting blog comments working). Adds 'limit' and 'depth' parameter to permalink pages * Added final redditheader.html pretty-button class * new iframe ads; also make button.js static * Usage sampling Bugfixes: * Stop adding batched time query recalculations to the queue at all except through the catch_up_batch_queries function * Superflous comma might be causing IE7 to barf * Change the byurl keys again, to fit in memcaches 251 character limit * Indentation error causing non-sponsors to be able to get to the advert listing * Move to a custom build of pylibmc that doesn't hold the GIL during blocking operations * Convert some cache.gets to cache.get_multis, and implement our own thread-safety around pylibmc's client * Make search caching a little smarter for time searches * Make the ads not be cached for 30 seconds each, ie. more random * fix deleted things on profile pages
- Loading branch information
1 parent
a402d48
commit 67814d5
Showing
80 changed files
with
2,613 additions
and
401 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.