# Number of worker processes to spawn. # Set to 0 to run everything in a single process without clustering. # Use 'ncpu' to run as many workers as there are CPU units num_workers: ncpu # Number of milliseconds to wait for a heartbeat from worker before killing # and restarting it worker_heartbeat_timeout: 7500 # Log error messages and gracefully restart a worker if v8 reports that it # uses more heap (note: not RSS) than this many mb. worker_heap_limit_mb: 500 # Logger info logging: level: info # streams: # # Use gelf-stream -> logstash # - type: gelf # host: logstash1003.eqiad.wmnet # port: 12201 # Statsd metrics reporter metrics: type: statsd host: localhost port: 8125 services: - name: test # a relative path or the name of an npm package, if different from name module: ./test/httpserver.js # optionally, a version constraint of the npm package # version: ^0.4.0 # per-service config conf: port: 12345 interface: localhost # more per-service config settings