From 70cd2cd10305cf70ae7848d11fbe8385cb634c44 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sun, 23 Oct 2016 18:23:01 +0800 Subject: [PATCH] update readme. Signed-off-by: Bo-Yi Wu --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 59b7dee..4c34c6e 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,7 @@ A push notification micro server using [Gin](https://github.com/gin-gonic/gin) f * Support `p12` or `pem` formtat of iOS certificate file. * Support `/sys/stats` show response time, status code count, etc. * Support for HTTP proxy to Google server (GCM). +* Support retry send notification if server response is fail. See the [YAML config example](config/config.yml): @@ -78,12 +79,14 @@ api: android: enabled: true apikey: "YOUR_API_KEY" + max_retry: 0 # resend fail notification, default value zero is disabled ios: enabled: false key_path: "key.pem" password: "" # certificate password, default as empty string. production: false + max_retry: 0 # resend fail notification, default value zero is disabled log: format: "string" # string or json