Commit Graph

21 Commits

Author SHA1 Message Date
Ethan Nguyen a35fc9fbd2
chore(message): Add option to redact contents of messages in logs (#719) 2023-02-21 11:00:24 +08:00
Bo-Yi.Wu 111a7cce49 docs(config.yml): update comment.
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-10-29 22:39:20 +08:00
Bo-Yi Wu a45769c24f
chore(queue): upgrade queue package and add metrics (#673)
* chore(queue): upgrade queue package and add metrics

add new metrics

	BusyWorkers    *prometheus.Desc
	SuccessTasks   *prometheus.Desc
	FailureTasks   *prometheus.Desc
	SubmittedTasks *prometheus.Desc

fix https://github.com/appleboy/gorush/issues/672

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* chore: update go version

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-05-05 13:56:28 +08:00
Bo-Yi Wu 3f411ebe89
chore(queue): support Redis pub/sub (#652) 2022-01-01 23:04:13 +08:00
Bo-Yi Wu 4c1c87aecc
chore(conf): add default value for max_concurrent_pushes (#646) 2021-12-09 23:46:49 +08:00
Bo-Yi Wu 83aaa37faf docs: add support redis cluster
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-09-20 20:00:20 +08:00
Bo-Yi Wu c51b4b2b65
chore(queue): Support NATS as backend (#618)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-08-01 21:06:47 +08:00
Bo-Yi Wu 990085fee7 chore: update default value.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-17 20:18:57 +08:00
Bo-Yi Wu 2e2dd9b8d6
chore(queue): support NSQ as backend. (#600) 2021-07-17 20:14:19 +08:00
Bo-Yi Wu 0658f18430
chore: disabled Huawei notification by default (#590) 2021-07-16 11:51:34 +08:00
kerem 9c51cbc989
make Huawei configs compatible with HMS Core 4.0 (#561)
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-03-28 22:13:02 +08:00
M. Salih Karakaşlı 3918fab908
Add Huawei Mobile Services Support to Gorush (#523)
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-09-04 11:01:21 +08:00
Emmet McPoland 685a87c930
Concurrent ios pushes (#497)
* Added the ability to concurrently call.push. Linter was complaining about "loop variable token captured by", need to determine if its a legitiment issue, as the lint message has now disappeared

* resolved "loop variable token captured by func literal" issue

* Ran make_fmt

* Moved max_concurrent_pushes to iOS

* Moved from limitgroup to sizedwaitgroup

* Removed SizedWaitGroup. Using client pool of 1 and buffered channels

* Fill client pool with the same client

* MaxConcurrentPushes is now applied across all running pushes

* Ran make fmt

* Corrected TestPushToIOS test

* Update README.md

Co-Authored-By: Yaroslav "Zorg" Zborovsky <yaronius@users.noreply.github.com>

* Added comment to config in all copies for max_concurrent_pushes

* Updated TestPushToIOS to be driven from config

Co-authored-by: Yaroslav "Zorg" Zborovsky <yaronius@users.noreply.github.com>
2020-04-23 21:02:53 +08:00
Bo-Yi Wu 4e05611577
chore(storage): support set db path for badger driver (#499)
* chore(storage): support set db path for badger driver

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix path

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix readme

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* update default value

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-04-23 10:34:35 +08:00
Travis Cline 12842edd2c
docs: fix minor typo (#493) 2020-04-05 16:48:39 +08:00
Bo-Yi Wu 52622558bd
chore(gorush): add timeout for http client (#473)
* chore(gorush): add timeout for http client

dispatch feedback url

See: https://github.com/appleboy/gorush/issues/449

* docs: update readme
2020-02-24 22:18:50 +08:00
Bo-Yi Wu c379630c29
chore(graceful): support custom timeout value (#466)
fixed: https://github.com/appleboy/gorush/issues/465
2020-02-05 23:23:16 +08:00
Keisuke Emi 1edfa9f532 Support HTTP proxy for APNs (#445) 2019-12-08 07:30:24 +08:00
Yassir Barchi 3812d357fd feat: add async feedback hook option (#414)
* feat: add async feedback hook option

* remove unnecessary return values

* review: check feedback's resp state

* fix embedmd error

* fix config test

* add feedback tests

* fix errcheck issues
2019-09-06 15:48:42 +08:00
Bo-Yi Wu 3f223cf6c0
feat: switch to drone 1.0 (#399)
fix #397
2019-03-16 11:37:01 +08:00
Bo-Yi Wu 4f0f9f95a9 chore(config): check error from load yaml config. 2018-08-15 14:56:52 +08:00