Skip to content

Commit 0b36eeb

Browse files
committed
Update docs
1 parent 116e8f3 commit 0b36eeb

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

docs-src/configuration.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Configuration
22

3-
Configuration is accomplished by modifying the appsettings.json file that comes with the InEngine.NET binary distribution.
3+
Configuration is accomplished by modifying the appsettings.json file that comes with the InEngine.NET binary distribution. The -c, --configuration argument can also be used to specify an alternate configuration file.
44

55

66
```json
77
{
88
"InEngine": {
99
"Queue": {
1010
"PrimaryQueueConsumers": 16,
11-
"SecondaryQueueConsumers": -1,
11+
"SecondaryQueueConsumers": 4,
1212
"QueueName": "InEngine:Queue",
1313
"RedisHost": "localhost",
1414
"RedisPort": 6379,
@@ -20,8 +20,15 @@ Configuration is accomplished by modifying the appsettings.json file that comes
2020

2121
```
2222

23-
The -c, --configuration argument can also be used to specify an alternate configuration file.
24-
23+
| Setting | Description |
24+
| ------------------------- | ------------------------- |
25+
| PrimaryQueueConsumers | The number of consumers to schedule for the primary queue. |
26+
| SecondaryQueueConsumers | The number of consumers to schedule for the secondary queue. |
27+
| QueueName | The base name of the queue, used to form the Redis Queue keys. |
28+
| RedisHost | The Redis hostname to connect to. |
29+
| RedisPort | Redis's port. |
30+
| RedisDb | The Redis database - 0-15 |
31+
| RedisPassword | The Redis auth password |
2532

2633

2734

docs-src/queuing.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,7 @@ However, it is often desirable to have more than 1 queue.
8989
For example, long running jobs might be sent to the secondary queue,
9090
while jobs that are expected to finish after only a few moments are sent to the primary queue.
9191

92-
What about 3, 4, 900 queues? This gets to be a pain to manage and, practically speaking, is probably unnecessary.
92+
What about 3, 4, or 900 queues? Numerous queues gets to be a pain to manage and, practically speaking, is probably unnecessary.
9393
If it is desirable, different [configuration files](configuration) can be used to run multiple instances of InEngine.NET.
94-
95-
96-
94+
Simply create a new config file with a new QueueName setting and point inengine.exe at it.
9795

0 commit comments

Comments
 (0)