diff options
author | 2022-12-02 19:40:49 +0100 | |
---|---|---|
committer | 2022-12-02 18:40:49 +0000 | |
commit | bc917a4085f8f6195e70d55b751b08cc5a93059c (patch) | |
tree | 9867d7d2bb2cc552d82a24535f8261ab1af2eb45 /cmd | |
parent | [bugfix] Fix `admin account confirm` on pre-confirmed account setting email a... (diff) | |
download | gotosocial-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.go | 2 |
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() } |