Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Implement basic ignore user API #763
Conversation
erikjohnston
added some commits
May 3, 2016
|
LGTM |
NegativeMjark
commented on an outdated diff
May 4, 2016
| @@ -60,6 +63,28 @@ def get_account_data_for_user_txn(txn): | ||
| "get_account_data_for_user", get_account_data_for_user_txn | ||
| ) | ||
| + @cachedInlineCallbacks(num_args=2) | ||
| + def get_global_account_data_by_type_for_user(self, user_id, data_type): |
NegativeMjark
Contributor
|
|
Would it be an idea to create a special cached database API for getting the ignore list that could populate the cache with a default empty list if the user hasn't set an ignore list? |
In terms of performance or code neatness? |
erikjohnston commentedMay 4, 2016
No description provided.