Skip to content

Commit 69cedf5

Browse files
committed
Update sample settings files
1 parent 0220917 commit 69cedf5

File tree

3 files changed

+56
-20
lines changed

3 files changed

+56
-20
lines changed

src/InEngine/appsettings.json

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"InEngine.Commands": ""
55
},
66
"ExecWhitelist": {
7+
"ls": "/bin/ls"
78
},
89
"Mail": {
910
"Host": "localhost",
@@ -12,14 +13,25 @@
1213
},
1314
"Queue": {
1415
"UseCompression": false,
15-
"PrimaryQueueConsumers": 8,
16-
"SecondaryQueueConsumers": 4,
16+
"PrimaryQueueConsumers": 4,
17+
"SecondaryQueueConsumers": 2,
1718
"QueueDriver": "redis",
1819
"QueueName": "InEngineQueue",
19-
"RedisHost": "localhost",
20-
"RedisPort": 6379,
21-
"RedisDb": 0,
22-
"RedisPassword": ""
20+
"Redis": {
21+
"Host": "127.0.0.1",
22+
"Port": 6379,
23+
"Database": 0,
24+
"Password": ""
25+
},
26+
"RabbitMQ": {
27+
"Host": "localhost",
28+
"Port": 5672,
29+
"Username": "",
30+
"Password": ""
31+
},
32+
"File": {
33+
"BasePath": "../"
34+
}
2335
}
2436
}
2537
}

src/SampleMvcWebsite/appsettings.json

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"InEngine.Commands": "/Users/hanne01/InEngine.NET/src/SampleMvcWebsite/bin"
55
},
66
"ExecWhitelist": {
7+
"ls": "/bin/ls"
78
},
89
"Mail": {
910
"Host": "localhost",
@@ -12,14 +13,25 @@
1213
},
1314
"Queue": {
1415
"UseCompression": false,
15-
"PrimaryQueueConsumers": 16,
16-
"SecondaryQueueConsumers": 4,
17-
"QueueDriver": "redis",
16+
"PrimaryQueueConsumers": 4,
17+
"SecondaryQueueConsumers": 2,
18+
"QueueDriver": "RabbitMQ",
1819
"QueueName": "InEngineQueue",
19-
"RedisHost": "localhost",
20-
"RedisPort": 6379,
21-
"RedisDb": 0,
22-
"RedisPassword": ""
20+
"Redis": {
21+
"Host": "127.0.0.1",
22+
"Port": 6379,
23+
"Database": 0,
24+
"Password": ""
25+
},
26+
"RabbitMQ": {
27+
"Host": "127.0.0.1",
28+
"Port": 5672,
29+
"Username": "",
30+
"Password": ""
31+
},
32+
"File": {
33+
"BasePath": "../"
34+
}
2335
}
2436
}
2537
}

src/SampleWebApi/appsettings.json

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"InEngine.Commands": "/Users/hanne01/InEngine.NET/src/SampleMvcWebsite/bin"
55
},
66
"ExecWhitelist": {
7+
"ls": "/bin/ls"
78
},
89
"Mail": {
910
"Host": "localhost",
@@ -12,14 +13,25 @@
1213
},
1314
"Queue": {
1415
"UseCompression": false,
15-
"PrimaryQueueConsumers": 16,
16-
"SecondaryQueueConsumers": 4,
17-
"QueueDriver": "redis",
16+
"PrimaryQueueConsumers": 4,
17+
"SecondaryQueueConsumers": 2,
18+
"QueueDriver": "RabbitMQ",
1819
"QueueName": "InEngineQueue",
19-
"RedisHost": "localhost",
20-
"RedisPort": 6379,
21-
"RedisDb": 0,
22-
"RedisPassword": ""
20+
"Redis": {
21+
"Host": "127.0.0.1",
22+
"Port": 6379,
23+
"Database": 0,
24+
"Password": ""
25+
},
26+
"RabbitMQ": {
27+
"Host": "127.0.0.1",
28+
"Port": 5672,
29+
"Username": "",
30+
"Password": ""
31+
},
32+
"File": {
33+
"BasePath": "../"
34+
}
2335
}
2436
}
2537
}

0 commit comments

Comments
 (0)