-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.js
More file actions
39 lines (34 loc) · 885 Bytes
/
config.js
File metadata and controls
39 lines (34 loc) · 885 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
var config = module.exports = {
//
// Sendero Interaction Server's address.
web: {
ip: "localhost",
port: 8081
},
//
// RabbitMQ configurations
rabbit: {
address: "localhost",
queues: [
"dragging_queue",
"testing_queue"
],
publish_options: {
expiration: 2000, // milliseconds to expire inside the queue
persistent: false // if broker restarts, messagges will be deleted.
}
},
//
// Define the interactions that will be received.
interactions: {
// The keys in this dictionary are the names of the interactions received
"drag": {
// Interactions received with 'drag' name will be queued in all the RabbitMQ queues in the list.
// The queue names must be defined in rabbit.queues (above).
queues: ["dragging_queue"]
},
"test": {
queues: ["testing_queue"]
}
}
};