44 Commits

Author SHA1 Message Date
alsotang
b08a11ee38 api /topics/update 2016-09-30 17:10:42 +08:00
alsotang
930b274bd2 pm2 script 2016-03-27 12:57:45 +08:00
alsotang
3a275b483e increase test timeout time 2015-12-17 13:40:41 +08:00
alsotang
27b7c6c0c7 update loader 2015-11-21 22:36:40 +08:00
alsotang
d8b3cc9614 NODE_ENV 2015-05-27 22:11:09 +08:00
Jason Lee
cf185edf45 merge master 2015-05-25 18:08:17 +08:00
Jason Lee
fe730d8df6 Add make run command to run development server 2015-05-25 17:50:55 +08:00
halfcrazy
128bf75a1c the max parameter has been deprecated 2015-05-22 18:40:22 +08:00
alsotang
c47dd089c4 内存 > 400M后,重启 2015-05-12 16:55:03 +08:00
alsotang
a511357454 最大可用内存 600M 2015-04-17 15:06:01 +08:00
alsotang
67c098202b 两项改进
1. nodejs 层面 ratelimit 加入
2. 缓存用上 redis, 包括 common/cache.js 和 session
2015-04-04 17:29:18 +08:00
alsotang
e790c5718e pm2 --max-memory-restart 400M 2015-03-07 03:04:50 +08:00
alsotang
4a0683c488 pm2 maxmemory 300M 2015-02-08 20:22:45 +08:00
alsotang
dde34ac584 update newrelic to 1.16.1 2015-02-07 17:16:44 +08:00
alsotang
fa0d40f2a1 升级最大可用内存 2015-02-07 17:06:12 +08:00
alsotang
22f3c7ca81 use node 0.12.x 2015-02-07 16:52:39 +08:00
alsotang
ddb191f70e restart self when memory exceed 200MB 2014-11-21 16:54:41 +08:00
alsotang
65bf1b0ebf pm2 use fork mode 2014-10-22 20:27:03 +08:00
alsotang
20b76cdfa5 change NPM_REGISTRY in Makefile because vps is in overseas now 2014-09-27 02:39:14 +08:00
alsotang
a97939edb8 session secret 2014-09-26 20:38:49 +08:00
alsotang
c098e08894 重构 common/tools.js 2014-09-21 19:36:51 +08:00
alsotang
deb7beae1f 抽象出 commmon/store.js 模块 2014-09-06 18:56:28 +08:00
alsotang
9904853d3f fix test 2014-08-29 14:33:56 +08:00
alsotang
4272b82a6f update makefile 2014-08-29 13:41:57 +08:00
alsotang
64ef8f18f2 为 config.default.js 添加注释 2014-08-29 13:40:17 +08:00
alsotang
d733fe6cd0 update readme 2014-08-29 11:58:11 +08:00
alsotang
e32edaff6a delete unused code 2014-08-29 11:48:41 +08:00
dead_horse
c2e0beb769 use istanbul instead of coverage 2014-08-20 23:45:12 +08:00
dead_horse
f35cdee6c7 add registry 2014-08-20 01:03:27 +08:00
Alsotang
4f69ba6125 use pm2 instead of forever 2014-05-05 15:05:29 +08:00
Alsotang
0955a99f0b update Makefile 2014-04-26 18:07:02 +08:00
Jackson Tian
5cfe3d09fa 升级Loader版本,更适合调试 2014-03-16 12:39:21 +08:00
Alsotang
de80ff5d90 add log file 2014-02-24 15:26:43 +08:00
Alsotang
f2a667090b Use forever 2014-02-23 23:18:19 +08:00
Jackson Tian
30064019de 用config.debug判断是否线上状态 2013-06-19 12:07:44 +08:00
Jackson Tian
f7b602f7fd 静态资源重构 2013-06-19 02:40:02 +08:00
fengmk2
bcb7f3e75d fixed topic delete not post method security problem. 2013-01-06 14:08:57 +08:00
fengmk2
1d8f686fcd add jscoverage, add test_results.md 2012-06-22 17:59:05 +08:00
fengmk2
50e15fe578 add rewire for private methods test. 2012-06-13 21:26:28 +08:00
fengmk2
9583931dbc 去除自适应宽度 2012-06-06 21:36:18 +08:00
fengmk2
4f3ced5f4a convert tab to 2 space for models 2012-06-04 00:18:07 +08:00
fengmk2
d85f2dd4b8 add exclude options for onehost; auto create config.js for make test; 2012-06-03 19:18:10 +08:00
fengmk2
58b45862a1 add plugins test 2012-06-03 13:14:39 +08:00
fengmk2
62b754ab06 add unit test and jscoverage 2012-06-02 23:33:01 +08:00