Code coverage report for thinkjs/lib/Conf/mode.js

Statements: 100% (1 / 1)      Branches: 100% (0 / 0)      Functions: 100% (0 / 0)      Lines: 100% (1 / 1)      Ignored: none     

All files » thinkjs/lib/Conf/ » mode.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18          7                        
/**
 * 不同模式下的配置文件
 * 由于每个模式下的配置可能都比较少,所以放在一个文件里
 * @type {Object}
 */
module.exports = {
  cli: {
    use_cluster: false, //关闭cluster功能
    html_cache_on: false,
    log_process_pid: false,
    clear_require_cache: false,
    auto_close_db: false,  //自动关闭数据库连接
    log_record: false,
  },
  cli_debug: {
    clear_require_cache: false
  }
};