Details
-
Improvement
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
None
-
Serverless
Description
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.