Home GnuPG

Record the last time a connection was used on the connection object
9c03af69571fUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Record the last time a connection was used on the connection object

Summary:
Ref T11458. Currently, we're very aggressive about closing connections.

I want to change things so we only close connections we haven't used recently (for example: no activity in the last 15 seconds). This should let us do a better job of holding open approximately only the connections we actually need in a wider range of cases.

Test Plan:
Ran some code that uses queries.

This doesn't do anything on its own; see next diff in Phabricator for meaningful changes.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11458

Differential Revision: https://secure.phabricator.com/D16388

Details

Provenance
epriestley <git@epriestley.com>Authored on Aug 11 2016, 5:49 PM
Parents
rPHUTIL73e2a1984abf: Discard futures after they resolve in phage
Branches
Unknown
Tags
Unknown

Event Timeline