-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
Serverless
In PrimaryOnlyService::run we pass the stored shared_ptr<executor::ScopedTaskExector by value, which invokes a copy constructor and increases the refcount of the smart pointer needlessly. We should at least pass this value by const-ref.