Skip to content
Snippets Groups Projects
Commit c333b9cc authored by vlorentz's avatar vlorentz
Browse files

Remove unnecessary copy of contentIsSkipped

It adds a 6s delay to every gRPC request
parent 38547345
No related branches found
Tags v3.2.1
1 merge request!345Remove unnecessary copy of contentIsSkipped
Pipeline #6164 failed
......@@ -109,7 +109,7 @@ public class SwhGraphProperties implements FlyweightPrototype<SwhGraphProperties
((contentLength instanceof LongMappedBigList)
? ((LongMappedBigList) contentLength).copy()
: contentLength),
(contentIsSkipped != null) ? contentIsSkipped.copy() : null,
contentIsSkipped, // Don't need to copy because it is eagerly loaded in RAM, not mmapped
((authorId instanceof IntMappedBigList) ? ((IntMappedBigList) authorId).copy() : authorId),
((committerId instanceof IntMappedBigList) ? ((IntMappedBigList) committerId).copy() : committerId),
((messageBuffer instanceof ByteMappedBigList)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment