Skip to content

Commit

Permalink
Fix export limit check (#6201)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjain1 committed Dec 4, 2024
1 parent e589e05 commit b8cde60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/server/downloads.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ func (s *Server) downloadHandler(w http.ResponseWriter, req *http.Request) {

func (s *Server) resolveExportLimit(base, override int64) int64 {
res := base
if override < res {
if override > 0 && override < res {
res = override
}
return res
Expand Down

0 comments on commit b8cde60

Please sign in to comment.