update readme.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
6efe23923c
commit
50dacbb791
|
@ -18,12 +18,15 @@ A push notification server using [Gin](https://github.com/gin-gonic/gin) framewo
|
||||||
* Support Web API to send push notification.
|
* Support Web API to send push notification.
|
||||||
* Support zero downtime restarts for go servers using [endless](https://github.com/fvbock/endless).
|
* Support zero downtime restarts for go servers using [endless](https://github.com/fvbock/endless).
|
||||||
* Support [HTTP/2](https://http2.github.io/) or HTTP/1.1 protocol.
|
* Support [HTTP/2](https://http2.github.io/) or HTTP/1.1 protocol.
|
||||||
|
* Support notification queue and multiple workers.
|
||||||
|
|
||||||
See the [YAML config example](config/config.yml):
|
See the [YAML config example](config/config.yml):
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
core:
|
core:
|
||||||
port: "8088"
|
port: "8088"
|
||||||
|
worker_num: 8
|
||||||
|
queue_num: 8192
|
||||||
max_notification: 100
|
max_notification: 100
|
||||||
mode: "release"
|
mode: "release"
|
||||||
ssl: false
|
ssl: false
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
core:
|
core:
|
||||||
port: "8088"
|
port: "8088"
|
||||||
|
worker_num: 8
|
||||||
|
queue_num: 8192
|
||||||
max_notification: 100
|
max_notification: 100
|
||||||
mode: "release"
|
mode: "release"
|
||||||
ssl: false
|
ssl: false
|
||||||
|
|
Loading…
Reference in New Issue