allow multipart uploads expiration to be dynamic (#20190)

allow multipart uploads expiration to be dyamic

It would seem like the new values will take effect
only after a restart for changes in multipart_expiration.
This PR fixes this by making it dynamic as it should have
been.
This commit is contained in:
Harshavardhana
2024-07-30 12:01:06 -07:00
committed by GitHub
parent 80ff907d08
commit f13c04629b
2 changed files with 7 additions and 7 deletions

View File

@@ -525,7 +525,7 @@ func (s *erasureSets) cleanupStaleUploads(ctx context.Context) {
if set == nil {
return
}
set.cleanupStaleUploads(ctx, globalAPIConfig.getStaleUploadsExpiry())
set.cleanupStaleUploads(ctx)
}(set)
}
wg.Wait()