Commit Graph

8 Commits (e0714fdd53ff1db4708c8cf8f2f0d55d7ff151cd)

Author SHA1 Message Date
kikoqiu 54ed7e43ca
Feat: improve thumbnails proformance and GC for local policy (#1044)
* thumb generating improvement

Replace "github.com/nfnt/resize" with "golang.org/x/image/draw". Add thumb task queue to avoid oom when batch thumb operation

* thumb improvement

* Add some tests for thumbnail generation
2021-11-11 17:45:22 +08:00
Loyalsoldier 79b8784934
Comply with Golang semantic import versioning (#630)
* Code: compatible with semantic import versioning

* Tools & Docs: compatible with semantic import versioning

* Clean go.mod & go.sum
2020-11-21 17:34:55 +08:00
HFO4 c74ed10dbd Test: aria2 / filesystem.image 2020-03-12 10:12:13 +08:00
HFO4 e722c33cd5 Feat: task queue / compression task 2020-02-02 14:40:07 +08:00
HFO4 9fe451ad4b Fix: cache-control header in thumb redirect request 2020-02-01 10:08:34 +08:00
HFO4 b6102c3ae5 Fix: policy should be re-dispatch while getting thumbnails 2020-01-02 13:10:04 +08:00
HFO4 132c7a8fcb Feat: file uploading in slave mode 2019-12-28 13:14:00 +08:00
HFO4 c3c0e92964 Test: thumbnail and authn / Modify: read thumbnail config from file 2019-12-09 11:33:39 +08:00