Commit Graph

39 Commits

Author SHA1 Message Date
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 24c3492541 chore: update cluster testing
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-09-20 20:21:06 +08:00
Bo-Yi Wu 349c0c8c1d
fix: Function params involve heavy amount of copying (#622) 2021-08-02 14:07:30 +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 2e2dd9b8d6
chore(queue): support NSQ as backend. (#600) 2021-07-17 20:14:19 +08:00
Bo-Yi Wu ab8b1991ab
chore: support single queue and multiple worker (#589) 2021-07-16 12:10:34 +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
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
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
Bo-Yi Wu 2d2f62d19b
feat(iOS): load iOS key from base64 input. (#336)
* feat(iOS): load iOS key from base64 input.

* test: check key type exist.
2018-02-18 17:12:51 +08:00
Bo-Yi Wu e99692717c support custom url for health URI. (#302)
* support custom url for health URI.

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

* fix readme

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-25 21:19:58 -05:00
Bo-Yi Wu c06e819e08 Support new Apple Token Based Authentication (JWT) (#300)
* Support new Apple Token Based Authentication (JWT)

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

* fix testing

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-25 03:49:23 -05:00
Bo-Yi Wu f3480d2dd8 Support global ENV setting. (#293)
* Support global ENV setting.

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

* add viper package

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

* fix typo

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

* fix testing.

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

* fix testing.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-22 22:06:30 -05:00
Bo-Yi Wu 6d29e638b4 change grpc port to 9000 (#291)
* change grpc port to 9000

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

* change grpc port to 9000

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-18 20:24:47 -05:00
Bo-Yi Wu e070248a11 fix lint error for gorush folder. (#275)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-23 21:46:00 -05:00
Simone Basso a714d03e2c feature(server): allow to bind specific addresses (#263)
The main use case for ooniprobe is to bind 127.0.0.1 only.
2017-07-31 16:31:07 +08:00
Bo-Yi Wu 00ff0248a2 feat(config): enable or disable httpd server. (#262) 2017-07-27 11:19:36 +08:00
Bo-Yi Wu 41a8a609be feat(config): add grpc config. (#255) 2017-07-24 18:58:30 +08:00
Bo-Yi Wu b6997ea792 feat: support sync mode for http response. (#208)
* feat: support sync mode for http response.

* fix: update readme.

* fix: check wg exist.

* fix: testing sync mode.
2017-04-06 15:00:49 +08:00
Bo-Yi Wu 97eae1fab4 feat: support Automatically install TLS certificates from Let's Encrypt. (#205)
* feat: support Automatically install TLS certificates from Let's Encrypt.

* refactor: update tls server.

* fix: missing tls package.

* fix: drop 1.6.x support

* docs: update readme.

* fix: listen tcp :443: bind: permission denied
2017-04-05 12:03:43 +08:00
Bo-Yi Wu 962c033246 feat: set runtime.NumCPU() as default worker num value (#174) 2017-01-25 16:29:35 +08:00
Bo-Yi Wu a669070ffb feat: support prometheus metric url. (#168) 2017-01-19 16:56:30 +08:00
Bo-Yi Wu 999e769d29 Change defual retry to zero
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-23 21:18:54 +08:00
Bo-Yi Wu 411f413484 add max retry flag.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-23 21:18:54 +08:00
Bo-Yi Wu f24c65a9fa Add bunt db testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-09-19 21:52:40 +08:00
Bo-Yi Wu 9b5815fd9f Upgrade redis client to v4.
ref: http://godoc.org/gopkg.in/redis.v4

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-09-19 17:00:14 +08:00
Bo-Yi Wu bf56f592e8 support LevelDB key/value database.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-09-19 16:19:20 +08:00
Bo-Yi Wu 3294dbaf95 changed type for core section.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-09-02 15:55:47 +08:00
Bo-Yi Wu ec3b4fc03a Support create pid file.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-19 21:16:10 +08:00
Bo-Yi Wu b13fd54ba3 Support BuntDB engine.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-02 15:35:28 +08:00
Bo-Yi Wu 4a431243df Initial proxy setting for web server.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-07-29 09:38:06 +08:00
Bo-Yi Wu 5b20181474 update config testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-07-18 09:50:18 +08:00
Bo-Yi Wu f65ccaaa8a Show response time, status code etc.
https://github.com/thoas/stats

Fixed #103

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-06-26 12:21:32 +08:00
Bo-Yi Wu 3c03839e2e update coverage.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-04 09:40:48 +08:00
Bo-Yi Wu e73c02da53 move config file
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-03 09:49:08 +08:00