Better cache when modifying in-place
This commit is contained in:
parent
df3ca41e62
commit
d199b3cdd7
|
@ -32,7 +32,7 @@ class Projects::LfsApiController < Projects::GitHttpClientController
|
|||
private
|
||||
|
||||
def objects
|
||||
(params[:objects] || []).to_a
|
||||
@objects ||= (params[:objects] || []).to_a
|
||||
end
|
||||
|
||||
def existing_oids
|
||||
|
|
Loading…
Reference in New Issue