fix(unified-storage): add pagination support for folder list (#105444)

This commit is contained in:
Mustafa Sencer Özcan
2025-05-15 18:43:44 +02:00
committed by GitHub
parent d4d1514ecb
commit 167b201525
3 changed files with 281 additions and 10 deletions
@@ -34,6 +34,7 @@ import (
)
const folderSearchLimit = 100000
const folderListLimit = 100
func (s *Service) getFoldersFromApiServer(ctx context.Context, q folder.GetFoldersQuery) ([]*folder.Folder, error) {
ctx, span := s.tracer.Start(ctx, "folder.getFoldersFromApiServer")