MCPcopy Create free account
hub / github.com/apple/foundationdb / returnConnection

Method returnConnection

fdbclient/S3BlobStore.actor.cpp:768–773  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

766}
767
768void S3BlobStoreEndpoint::returnConnection(ReusableConnection& rconn) {
769 // If it expires in the future then add it to the pool in the front
770 if (rconn.expirationTime > now())
771 connectionPool.push(rconn);
772 rconn.conn = Reference<IConnection>();
773}
774
775std::string awsCanonicalURI(const std::string& resource, std::vector<std::string>& queryParameters, bool isV4) {
776 StringRef resourceRef(resource);

Callers 1

Calls 2

nowFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected