text:  var path = require('path')
    , config
    , cwd = process.cwd();
  
  config = {
  // Default to prod
    environment: 'development'
  // Number of worker-processes to spawn
  , workers: 2
  // Port to listen on
  , port: 4000
  // Set stdout to debug log-level
  , debug: false
  // Use worker-process rotation
  , rotateWorkers: true
  // How long for a full rotation
  , rotationWindow: 2 * 60 * 60 * 1000
  // How long to wait for in-flight requests before rotating
  , rotationTimeout: 5 * 60 * 1000
  // Default logfile location
  , logDir: path.normalize(cwd + '/log')
  // How long to wait for in-flight requests before killing
  , gracefulShutdownTimeout: 30000
  // Number of milliseconds between heartbeat calls from
  // the worker to the master
  , heartbeatInterval: 5000
  // Number of milliseconds old a heartbeat-timestamp can be
  // before assuming a worker is hung, and needs to be killed
  , heartbeatWindow: 20000
  // Place to look for static content to serve in dev-mode
  , staticFilePath: path.normalize(cwd + '/public')
  // Default session-settings -- setting to null will mean no sessions
  , sessions: {
      store: 'memory',
      key: 'sid',
      expiry: 14 * 24 * 60 * 60
    }
  // Key for when using Cookie session-store
  , cookieSessionKey: 'sdata'
  // Should be an object literal with config opts if used
  , metrics: null
  // Where to look for locale text-files by default
  , i18n: {
      defaultLocale: 'en-us'
    , loadPaths: [path.normalize(cwd + '/config/locales')]
    }
  // Default to no SSL and SPDY setup
  , spdy: null
  , ssl: null
  // Model defaults
  , model: {
      useTimestamps: false
    , forceCamel: true
    }
  // Default to localhost `hostname`
  , hostname: 'localhost'
  };
  
  module.exports = config;
  