Commit Graph

31 Commits

Author SHA1 Message Date
Bo-Yi Wu 7c039f9b37
chore(docker): run as non root user in container (#727) 2023-02-28 11:47:56 +08:00
Bo-Yi Wu 5a8b7afa28 chore(CI): add goreleaser config 2023-02-27 16:27:56 +08:00
Bo-Yi Wu 5af237945e chore(binary): support LDFLAGS by goreleaser
fix https://github.com/appleboy/gorush/issues/713
2023-02-27 16:11:07 +08:00
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 fe402a578a fix(lint): golangci-lint warning.
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-12-17 22:59:18 +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
rsmnarts eac2553b25
add ID to grpc (#641)
Co-authored-by: rsmnarts <risman.zainuri@bluebirdgroup.com>
2021-11-03 22:14:46 +08:00
Bo-Yi Wu 18016db289
chore(queue): upgrade queue to v0.0.7 version (#629)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-08-22 22:04:50 +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 24cf872b31
chore(logx): add custom logger in queue (#627) 2021-08-11 11:13:29 +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 7b16a4db98
chore: move NSQ and simple package to appleboy/queue (#613)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-24 22:33:44 +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 ce6e87639a
chore: support custom parameter in queue (#608)
* chore: support custom parameter in queue

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-24 01:29:47 +08:00
Bo-Yi Wu 2d01f8b854
chore: init log package (#606)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-20 21:16:53 +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 4349a17017
chore(queue): support option setting (#593) 2021-07-17 06:56:42 +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 45be946f54
chore: fix lambda build for netlify (#587) 2021-07-14 03:01:50 +08:00
Bo-Yi Wu ca7dcbd8dd
chore: create router package (#586) 2021-07-14 02:16:09 +08:00