We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 424bc3c commit 138bdb8Copy full SHA for 138bdb8
server.js
@@ -36,9 +36,6 @@ function Server (opts) {
36
EventEmitter.call(self)
37
opts = opts || {}
38
39
- if (opts.http === false && opts.udp === false)
40
- throw new Error('must start at least one type of server (http or udp)')
41
-
42
self._intervalMs = opts.interval
43
? opts.interval
44
: 10 * 60 * 1000 // 10 min
0 commit comments