Commit Graph

32 Commits

Author SHA1 Message Date
barisusakli
9d25772b53 added sortedSetIncrBy 2014-09-27 15:48:16 -04:00
barisusakli
c5c97c784a optimize getPostIndices
only use 1 set when its in a topic
2014-09-26 22:19:26 -04:00
barisusakli
4b80bbb9c4 optimized user.delete 2014-09-16 22:25:12 -04:00
barisusakli
35a903f9c8 closes #2074
when new notifications are pushed to uids clear their old notifications.
2014-09-14 12:07:26 -04:00
barisusakli
493d0dea1e part 1 of notif refactor 2014-09-14 12:07:23 -04:00
barisusakli
01f983e29c markAsRead improvement
takes in an array of tids instead of marking topics read 1 by 1
same for the category.markAsRead function
2014-09-10 21:44:19 -04:00
barisusakli
5222edb624 sortedSetsAdd
using mullti/bulk for redis/mongo
lets you add a score/value pair to multiple sorted sets at once
2014-09-08 16:13:48 -04:00
barisusakli
2252ab7479 notifications.prune
run every hour
dont get more than 500 notifications
2014-09-07 03:17:51 -04:00
barisusakli
10b30e303b mongo posting fix 2014-09-03 19:38:48 -04:00
barisusakli
cd096f8832 sortedSetScores for tag counts 2014-08-15 11:48:01 -04:00
barisusakli
e10eaf0d50 added tag counts to api return 2014-08-14 21:12:12 -04:00
barisusakli
528ee335d5 optimize getTopicsByTids and getTeasers 2014-08-06 21:30:11 -04:00
barisusakli
3829019bfa removed optional params 2014-07-24 23:33:33 -04:00
barisusakli
89bb11a58c closes #1880 2014-07-22 12:56:34 -04:00
barisusakli
9d7a8fcc0b getSortedSetRevRangeWithScores 2014-07-09 13:45:33 -04:00
barisusakli
b5df5c0a91 closes #1562, level session 2014-07-09 13:26:39 -04:00
barisusakli
53d68be7c0 level sortedSetsRemove 2014-07-09 12:57:04 -04:00
barisusakli
e6d8e9c959 searchIndex callbacks 2014-06-24 09:15:44 -04:00
barisusakli
fd12ec763a sortedSetsRemove
instead of calling sortedSetRemove() one at a time for each id remove
value from multiple sortedSets with one db call
2014-06-21 22:37:46 -04:00
barisusakli
746df87d89 upgrade tags to sorted set 2014-05-22 13:06:19 -04:00
Julian Lam
e64c1bfec3 closed #1453 2014-05-11 11:45:20 -04:00
Julian Lam
bab140c396 added pexpire and pexpireAt methods for redis and mongo. Added emoticons for leveldb (as per existing implementation by @psychobunny LOL) 2014-05-11 10:31:32 -04:00
psychobunny
268be5f35c fixed LevelDB helpers 2014-04-14 17:14:09 -04:00
psychobunny
290e348851 move database helpers into their own files 2014-04-14 15:09:57 -04:00
psychobunny
bba3df6802 moving db.close into the parent module 2014-04-14 13:51:45 -04:00
psychobunny
74674c8494 Merge remote-tracking branch 'origin/master' into secondary_database
Conflicts:
	src/database/level/main.js
2014-04-14 11:43:54 -04:00
psychobunny
a7582e2cca organized level helpers ala mongo driver 2014-04-11 15:47:49 -04:00
psychobunny
e09b156d13 removing unnecessary return 2014-04-11 15:25:20 -04:00
psychobunny
c86635b4ce making changes for compatibility with 9d405812cb 2014-04-11 02:32:43 -04:00
psychobunny
f5716de06e forgot to use the passed in fn 2014-04-11 02:24:11 -04:00
psychobunny
2acdcd9ba2 more cleanup 2014-04-11 02:13:08 -04:00
psychobunny
4d65a51ede LevelDB - organization 2014-04-11 02:04:12 -04:00