docs(config): Add comments that sync mode only works if the queue engine is local. (#692)
Co-authored-by: yukia3e <12268087+yukia3@users.noreply.github.com>
This commit is contained in:
parent
7f4a6670a9
commit
24d2861f1c
|
@ -104,7 +104,7 @@ core:
|
||||||
worker_num: 0 # default worker number is runtime.NumCPU()
|
worker_num: 0 # default worker number is runtime.NumCPU()
|
||||||
queue_num: 0 # default queue number is 8192
|
queue_num: 0 # default queue number is 8192
|
||||||
max_notification: 100
|
max_notification: 100
|
||||||
sync: false # set true if you need get error message from fail push notification in API response.
|
sync: false # set true if you need get error message from fail push notification in API response. It only works when the queue engine is local.
|
||||||
feedback_hook_url: "" # set a hook url if you need get error message asynchronously from fail push notification in API response.
|
feedback_hook_url: "" # set a hook url if you need get error message asynchronously from fail push notification in API response.
|
||||||
feedback_timeout: 10 # default is 10 second
|
feedback_timeout: 10 # default is 10 second
|
||||||
mode: "release"
|
mode: "release"
|
||||||
|
@ -983,7 +983,7 @@ core:
|
||||||
+ feedback_hook_url: "https://exemple.com/api/hook"
|
+ feedback_hook_url: "https://exemple.com/api/hook"
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also switch to **sync** mode by setting the `sync` value as `true` on yaml config.
|
You can also switch to **sync** mode by setting the `sync` value as `true` on yaml config. It only works when the queue engine is local.
|
||||||
|
|
||||||
```diff
|
```diff
|
||||||
core:
|
core:
|
||||||
|
|
|
@ -19,7 +19,7 @@ core:
|
||||||
worker_num: 0 # default worker number is runtime.NumCPU()
|
worker_num: 0 # default worker number is runtime.NumCPU()
|
||||||
queue_num: 0 # default queue number is 8192
|
queue_num: 0 # default queue number is 8192
|
||||||
max_notification: 100
|
max_notification: 100
|
||||||
sync: false # set true if you need get error message from fail push notification in API response.
|
sync: false # set true if you need get error message from fail push notification in API response. It only works when the queue engine is local.
|
||||||
feedback_hook_url: "" # set webhook url if you need get error message asynchronously from fail push notification in API response.
|
feedback_hook_url: "" # set webhook url if you need get error message asynchronously from fail push notification in API response.
|
||||||
feedback_timeout: 10 # default is 10 second
|
feedback_timeout: 10 # default is 10 second
|
||||||
mode: "release"
|
mode: "release"
|
||||||
|
|
Loading…
Reference in New Issue