12 Commits (bd8a77a22b39446ecff13f4907e3d9966ecbcfa2)

Author SHA1 Message Date
barisusakli bd8a77a22b dont crash if callback isnt passed in 10 years ago
barisusakli 2c45dc6450 redis helpers 10 years ago
barisusakli 37235557bb fix callback in redis.setRemove 10 years ago
barisusakli 2f8e6a1f2b closes #2458 10 years ago
barisusakli 671ec8532c fix unfavourite 11 years ago
barisusakli 4b80bbb9c4 optimized user.delete 11 years ago
barisusakli 01f983e29c markAsRead improvement
takes in an array of tids instead of marking topics read 1 by 1
same for the category.markAsRead function
11 years ago
barisusakli 10b30e303b mongo posting fix 11 years ago
barisusakli 528ee335d5 optimize getTopicsByTids and getTeasers 11 years ago
barisusakli 9aacb5e259 remove dupe code 11 years ago
barisusakli c3a9767bf6 late night optimizations
-isMemberOfSets returns true/false instead of 1/0
-when loading the posts of a topic only get the userdata for each user
once, before this commit if a topic had 10 posts from 2 different users
we were getting the user data for each user 5 times (drunk)
-getVoteStatusByPostIDs and getFavouritesByPostIDs no longer make
pids.length calls to the db, they use isMemberOfSets now
-getUserInfoForPost renamed to getUserInfoForPosts and doesnt make
uids.length calls to db, uses getMultipleUserFields instead
11 years ago
psychobunny 9ad7ce9ca8 organizing redis driver 11 years ago