@ersinfotech/heartbeat
```js var heartbeat = require('@ersinfotech/heartbeat')
Last updated 2 years ago by ersinfotech .
MIT · Original npm · Tarball · package.json
$ cnpm install @ersinfotech/heartbeat 
SYNC missed versions from official npm registry.

heartbeat

var heartbeat = require('@ersinfotech/heartbeat')

if (process.env.NODE_ENV === 'production') {
  heartbeat({
    disableDetectRequest: false,
    detectRequestInterval: 15, // 分鐘
  })
}

options

type Options {
  id: String
  disableDetectRequest: Boolean = false
  disableRestart: Boolean = false
  detectRequestInterval: Int = 15
}

Current Tags

  • 5.0.0                                ...           latest (2 years ago)

5 Versions

  • 5.0.0                                ...           2 years ago
  • 4.0.0                                ...           3 years ago
  • 3.0.0                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 1
Last Week 1
Last Month 8
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |