Skip to content

Commit

Permalink
Rename a function argument
Browse files Browse the repository at this point in the history
  • Loading branch information
nkryuchkov committed Mar 25, 2024
1 parent cfadbae commit cf6656b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions http/parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ func WithHooks(hooks *Hooks) Parameter {

// WithReducedMemoryUsage reduces memory usage by disabling certain actions that may take significant amount of memory.
// Enabling this may result in longer response times.
func WithReducedMemoryUsage(reduceMemUsage bool) Parameter {
func WithReducedMemoryUsage(reducedMemoryUsage bool) Parameter {
return parameterFunc(func(p *parameters) {
p.reducedMemoryUsage = reduceMemUsage
p.reducedMemoryUsage = reducedMemoryUsage
})
}

Expand Down

0 comments on commit cf6656b

Please sign in to comment.