With actix-web-location now relying on a recent cadence which no longer wraps StatsdClient in an Arc, the LocationConfig should really take an instance the StatsdClient wrapped in an Arc, implying it will be shared between Location lookup and anything else in a thread safe fashion.
With actix-web-location now relying on a recent cadence which no longer wraps StatsdClient in an Arc, the
LocationConfig
should really take an instance theStatsdClient
wrapped in anArc
, implying it will be shared betweenLocation
lookup and anything else in a thread safe fashion.