aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api/filer_util.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2025-11-05 14:43:18 -0800
committerchrislu <chris.lu@gmail.com>2025-11-05 14:43:18 -0800
commit7484fcb1372c99fb47eb1200bf945b7416997a2e (patch)
treeed22c300b87d2085a26d0d3c8a22f9ce14795a2e /weed/s3api/filer_util.go
parentdc69c875a1dc1b1b94371ba7cad1af2cb1a880a5 (diff)
downloadseaweedfs-7484fcb1372c99fb47eb1200bf945b7416997a2e.tar.xz
seaweedfs-7484fcb1372c99fb47eb1200bf945b7416997a2e.zip
constant
Diffstat (limited to 'weed/s3api/filer_util.go')
-rw-r--r--weed/s3api/filer_util.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/s3api/filer_util.go b/weed/s3api/filer_util.go
index 3b20da9f4..ef7396996 100644
--- a/weed/s3api/filer_util.go
+++ b/weed/s3api/filer_util.go
@@ -6,6 +6,7 @@ import (
"fmt"
"strings"
+ "github.com/seaweedfs/seaweedfs/weed/filer"
"github.com/seaweedfs/seaweedfs/weed/glog"
"github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"
"github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants"
@@ -139,7 +140,7 @@ func (s3a *S3ApiServer) updateEntriesTTL(parentDirectoryPath string, ttlSec int3
func (s3a *S3ApiServer) processDirectoryTTL(ctx context.Context, client filer_pb.SeaweedFilerClient,
dir string, ttlSec int32, dirsToProcess *[]string, updateErrors *[]error) error {
- const batchSize = 1024 // Same as filer.PaginationSize
+ const batchSize = filer.PaginationSize
startFrom := ""
for {