Commit Graph

18 Commits

Author SHA1 Message Date
Bo-Yi.Wu 4ef30a0cdc fix(lint): warning from golangci-lint tool
https://github.com/appleboy/gorush/issues/704

Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-12-20 22:52:28 +08:00
Bo-Yi Wu 0f6a5ac6c5 fix(lint): from golangci-lint warning.
https://github.com/appleboy/gorush/issues/704
2022-12-20 22:52:19 +08:00
Bo-Yi.Wu 83a6e63af9 fix(lint): update some warning from golangci-lint
https://github.com/appleboy/gorush/issues/704

Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-12-20 22:52:11 +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 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 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 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 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
Bo-Yi Wu 380162a38a
chore(queue): add queue message interface (#602)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-18 01:58:46 +08:00
Bo-Yi Wu 2e2dd9b8d6
chore(queue): support NSQ as backend. (#600) 2021-07-17 20:14:19 +08:00
Bo-Yi Wu 41c61f11c4
chore: update worker interface (#592)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-16 19:26:19 +08:00
Bo-Yi Wu 73ff554b19
Only initial MaxConcurrentIOSPushes once. (#591) 2021-07-16 16:30:01 +08:00
Bo-Yi Wu ab8b1991ab
chore: support single queue and multiple worker (#589) 2021-07-16 12:10:34 +08:00
Bo-Yi Wu ca7dcbd8dd
chore: create router package (#586) 2021-07-14 02:16:09 +08:00