Commit Graph

15 Commits

Author SHA1 Message Date
落心 17dad5758f
Separate storage logic from actual business logic (#649) 2022-02-03 17:03:37 +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 ab8b1991ab
chore: support single queue and multiple worker (#589) 2021-07-16 12:10:34 +08:00
Bo-Yi Wu 3c61444520 chore: upgrade badger to v3
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-11 13:49:56 +08:00
Bo-Yi Wu db9dfea6d7 chore(module): update go module 2021-03-27 13:51:51 +08:00
Bo-Yi Wu d77e7fe4f2 chore(style): fix format by gofumpt 2021-01-23 09:39:06 +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
Bo-Yi Wu c2136fffc7
chore(storage): storage performance issues (#500)
* chore(storage): storage performance issues

1. close storage connection before shutdown the service
2. update windows image

https://github.com/appleboy/gorush/issues/393

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-04-23 15:39:24 +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 ccc73947ad
chore(storage): upgrade badger to v2 (#498)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-04-23 09:51:13 +08:00
Cem KIY 682ca7fbad badger version upgrade to v1.6.0 (#439)
* badger version upgrade to v1.6.0

- excuted go mod tidy command
- fixed badger error when without go mod

* go mod tidy and update packages
2019-12-08 07:41:16 +08:00
Cem KIY 5b526a73bd fixed #402 item get value error fix (#404)
- bager rename badger
- Value method not usable, therfore changed to ValueCopy
2019-04-13 22:39:33 +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 ffa8eb12b3
feat: Add badgerDB support. (#353)
See https://github.com/dgraph-io/badger
Slide: https://github.com/gopherchina/conference/blob/master/2018/1.5%20Badger_%20Fast%20Key-Value%20DB%20in%20Go.pdf
2018-04-16 17:26:15 +08:00