From 1cb6467ac94ccc1888efcbb0f97107503960d81c Mon Sep 17 00:00:00 2001 From: Jannik Stehle Date: Tue, 30 Jan 2024 09:38:23 +0100 Subject: [PATCH] fix: setting config for concurrent share requests --- changelog/unreleased/fix-concurrent-shares-config.md | 5 +++++ services/web/pkg/config/defaults/defaultconfig.go | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 changelog/unreleased/fix-concurrent-shares-config.md diff --git a/changelog/unreleased/fix-concurrent-shares-config.md b/changelog/unreleased/fix-concurrent-shares-config.md new file mode 100644 index 00000000000..4f355ef6ff3 --- /dev/null +++ b/changelog/unreleased/fix-concurrent-shares-config.md @@ -0,0 +1,5 @@ +Bugfix: Fix concurrent shares config + +We fixed setting the config for concurrent web requests, which did not work as expected before. + +https://github.com/owncloud/ocis/pull/8317 diff --git a/services/web/pkg/config/defaults/defaultconfig.go b/services/web/pkg/config/defaults/defaultconfig.go index 5e29d6cc83c..8370fa65425 100644 --- a/services/web/pkg/config/defaults/defaultconfig.go +++ b/services/web/pkg/config/defaults/defaultconfig.go @@ -118,7 +118,9 @@ func DefaultConfig() *config.Config { Editor: &config.Editor{}, FeedbackLink: &config.FeedbackLink{}, Embed: &config.Embed{}, - ConcurrentRequests: &config.ConcurrentRequests{}, + ConcurrentRequests: &config.ConcurrentRequests{ + Shares: &config.ConcurrentRequestsShares{}, + }, Routing: config.Routing{ IDBased: true, },