Skip to content

Commit

Permalink
debug false by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmud committed Mar 12, 2014
1 parent 76c5200 commit 89571a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conf/default.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var util = require('util');
* some default settings
*/
module.exports = {
debug: true,
debug: false,

site_name: '豆瓣酱',

Expand All @@ -29,7 +29,7 @@ module.exports = {
port: '6379',
host: '127.0.0.1',
prefix: 'doubanj_',
// only set default ttl when there is a memory limit
// only set default ttl when there is a memory limit
ttl: 7 * 24 * 60 * 60, // in seconds
},

Expand Down
1 change: 1 addition & 0 deletions conf/development.conf.tmpl.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
module.exports = {
site_name: '豆瓣酱 - 开发模式',
debug: true,
douban: {
limit: 40, // request limit per minute
key: '11111', // your douban api key (client_id)
Expand Down

0 comments on commit 89571a2

Please sign in to comment.