forked from bbc/node-radiovis-stomp-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.js
More file actions
24 lines (19 loc) · 840 Bytes
/
settings.js
File metadata and controls
24 lines (19 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module.exports = {
// the TCP port to listen for STOMP connections on
stompPort: 61613,
// By default accept connections on all interfaces.
// The following property can be used to listen on a specific interface. For
// example, the following would only allow connections from the local machine.
// stompHost: '127.0.0.1',
// the HTTP port to listen for HTTP admin connections on
adminPort: 3000,
// By default only listen for HTTP admin connections on localhost
adminHost: '127.0.0.1',
// The file containing a list of Radio services
servicesFile: 'services.json',
// How often to re-publish messages to subscribers (in seconds)
// This can be useful to remove that clients have silently disappeared
//
// If you are sending messages frequently anyway, this will be ignored
republishFrequency: 900
}