Commit Graph

6698 Commits

Author SHA1 Message Date
barisusakli
b7ee875b12 user.isOnline fix
wont hit db on every user socket connect or user disconnect
2014-09-06 22:08:55 -04:00
barisusakli
fe58ea55d4 moved debugs 1 level up increased key limit to 100 2014-09-06 20:47:20 -04:00
barisusakli
57e204df8e removed most of the debug
dont get more than 6 usernames for upvote tooltips
generatePostPaths wont check null pids
2014-09-06 20:46:18 -04:00
barisusakli
0ad42873d5 nasty 2014-09-06 04:30:25 -04:00
barisusakli
4b20e78de2 hopefully final fix 2014-09-06 04:29:20 -04:00
barisusakli
3f4ede0778 parseInt 2014-09-06 04:11:44 -04:00
barisusakli
518d731562 one more time 2014-09-06 04:09:13 -04:00
barisusakli
f9c9f58561 post_index fix 2014-09-06 03:56:15 -04:00
barisusakli
34a4a2103f isNan check 2014-09-06 03:45:34 -04:00
barisusakli
edd73b5be2 again 2014-09-06 03:35:28 -04:00
barisusakli
5160a4f90f getTopicwithposts 2014-09-06 03:25:32 -04:00
barisusakli
ef329c95df fix 2014-09-06 03:21:00 -04:00
barisusakli
0b83657868 more trace 2014-09-06 03:19:13 -04:00
barisusakli
0d5605ab35 trace in addPostData 2014-09-06 03:09:41 -04:00
barisusakli
126b1c4f4c only get 20 chats 2014-09-06 02:59:40 -04:00
barisusakli
0cfa430444 crash fix 2014-09-06 02:46:43 -04:00
barisusakli
017f6bde2c 50 2014-09-06 02:45:38 -04:00
barisusakli
7405051924 50 2014-09-06 02:41:04 -04:00
barisusakli
5fd199ae8a check privs pids 2014-09-06 02:39:54 -04:00
barisusakli
51cafe075c only get 25 posts 2014-09-06 02:34:39 -04:00
psychobunny
099a04c1c8 disabling pushUnreadCount for now, perhaps this might be good on redis too? 2014-09-06 02:22:26 -04:00
psychobunny
07376c9a4c look for unread only for today 2014-09-06 02:22:25 -04:00
psychobunny
6aa47efc06 we don't trust user.isOnline, waiting on an optimization (disabling for now) 2014-09-06 02:22:25 -04:00
psychobunny
0de458141b separated the sockets.emit to socket.emit + broadcast so OP gets action right away. moved callback sooner. 2014-09-06 02:22:24 -04:00
psychobunny
61895633b3 disabling updateLastOnlineTime until we can move this key to redis 2014-09-06 02:22:24 -04:00
psychobunny
056f89d6cf use redis session storage instead of connect-mongo 2014-09-06 02:22:23 -04:00
psychobunny
071be4ae7f cache popular route for anons 2014-09-06 02:22:22 -04:00
psychobunny
15052143d3 that preloader, will blow up your datacenter. 2014-09-06 02:22:22 -04:00
psychobunny
6c7d7a45e8 their plugins, in package.json 2014-09-06 02:22:21 -04:00
psychobunny
4fd9b58a55 give mongo room to breathe 2014-09-06 02:22:20 -04:00
psychobunny
a4c625a4d6 use compiled bcrypt 2014-09-06 02:22:20 -04:00
barisusakli
bf67424fd6 if there are no uids return 2014-09-06 01:55:56 -04:00
barisusakli
e2697030ec removed reuqire 2014-09-06 01:10:46 -04:00
barisusakli
3f96532c3f disabled 2 calls 2014-09-06 01:07:03 -04:00
barisusakli
072db27a3c dont add more than 10 2014-09-06 01:05:20 -04:00
barisusakli
a48e95b910 check keys 2014-09-06 01:04:20 -04:00
barisusakli
779b2a8d73 optimize queries 2014-09-06 00:58:03 -04:00
barisusakli
421d091828 optimizing browsing users 2014-09-06 00:19:46 -04:00
barisusakli
0dc780148a removed global room
socket.io already puts everyone into a room named ''
2014-09-05 22:11:21 -04:00
barisusakli
8e86f4b787 crash fix 2014-09-05 20:35:24 -04:00
barisusakli
a6f8bcd7be dont show new posts on popular
doesnt makse sense
2014-09-05 19:10:21 -04:00
barisusakli
9fac18c4b6 derp 2014-09-05 17:39:24 -04:00
barisusakli
ff44819d6b add support to set parentCid to 0 2014-09-05 14:14:45 -04:00
Julian Lam
9ee4c90548 test route back to 404 2014-09-05 14:04:50 -04:00
barisusakli
bc00d7d159 check just in case 2014-09-05 13:51:02 -04:00
barisusakli
ba32a4dc4f crash fix 2014-09-05 13:45:36 -04:00
Julian Lam
7255ce3dbe primary worker support, and added notif pruning to primary worker jobs 2014-09-05 13:44:56 -04:00
Julian Lam
2efb816da3 restarted threads now grab a copy of the minified js and map from the loader 2014-09-05 13:23:30 -04:00
barisusakli
1075305444 crash fix 2014-09-05 03:00:53 -04:00
barisusakli
7361aec709 update every 3 seconds 2014-09-05 01:37:38 -04:00