summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorLibravatar Dominik Süß <dominik@suess.wtf>2022-12-02 19:40:49 +0100
committerLibravatar GitHub <noreply@github.com>2022-12-02 18:40:49 +0000
commitbc917a4085f8f6195e70d55b751b08cc5a93059c (patch)
tree9867d7d2bb2cc552d82a24535f8261ab1af2eb45 /cmd
parent[bugfix] Fix `admin account confirm` on pre-confirmed account setting email a... (diff)
downloadgotosocial-bc917a4085f8f6195e70d55b751b08cc5a93059c.tar.xz
[performance]: make s3 urls cacheable (#1194)v0.6.0-rc3
Implements #864 and should speed up s3 based installations by a lot. With more static urls, we can then also implement #1026 for even better performance when used in conjunction with CDNs
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gotosocial/action/testrig/testrig.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gotosocial/action/testrig/testrig.go b/cmd/gotosocial/action/testrig/testrig.go
index 2259f7148..88ac369de 100644
--- a/cmd/gotosocial/action/testrig/testrig.go
+++ b/cmd/gotosocial/action/testrig/testrig.go
@@ -73,7 +73,7 @@ var Start action.GTSAction = func(ctx context.Context) error {
router := testrig.NewTestRouter(dbService)
var storageBackend *storage.Driver
if os.Getenv("GTS_STORAGE_BACKEND") == "s3" {
- storageBackend = testrig.NewS3Storage()
+ storageBackend, _ = storage.NewS3Storage()
} else {
storageBackend = testrig.NewInMemoryStorage()
}