Commit Graph

16 Commits

Author SHA1 Message Date
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
Annthonite Buena fb961a1977
Fix Huawei issue on nil pointer dereference (#660) 2022-02-12 20:43:47 +08:00
Hilário Coelho 20e6566183
Fix HMS Push Notifications (#645) 2021-12-09 23:14:12 +08:00
Bo-Yi Wu 70744b58cd
chore: replace appleboy/queue with new repo (#628)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-08-15 16:12:08 +08:00
Bo-Yi Wu 226abc69c5 chore: fix lint
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-08-14 22:57:16 +08:00
Bo-Yi Wu c81a316047
chore: fix some lint (#626)
* chore: fix some lint

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

* update

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-08-05 14:11:06 +08:00
Bo-Yi Wu ea71e99f2d
chore(lint): fix some condition. (#624) 2021-08-04 09:00:04 +08:00
Bo-Yi Wu 0a8d801380
fix: error from golangci-lint tool (#623) 2021-08-03 14:44:00 +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 6d65c1ea6e
chore(push): send error to specific URL (#621)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-08-02 12:37:38 +08:00
Bo-Yi Wu 8d03ac5f1e
refactor: remove config from notification struct. (#617)
* refactor: remove config from notification struct.

* chore: update

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-08-01 19:48:57 +08:00
Bo-Yi Wu 132e1791cd
chore(queue): upgrade appleboy/queue to 0.5.0 (#616) 2021-08-01 17:12:16 +08:00
Bo-Yi Wu 9bb618d506 fix: missing json pointer address
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-25 15:33:01 +08:00
Bo-Yi Wu e08e4c09ca
chore(NSQ): remove nsq package and update run func (#614)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-25 08:35:49 +08:00
Bo-Yi Wu 14f19fcb20
chore: move queue to appleboy/queue (#612)
* chore: move queue to appleboy/queue

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-24 17:18:35 +08:00
Bo-Yi Wu d9947ea44d
chore: rename gorush to notify package (#609)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-24 01:56:33 +08:00