Add synchronous connection pool option
commit5dadb4917b74848f29bd9e7378d0e63e1e1cd95b
authorJay Edgar <jkedgar@fb.com>
Wed, 7 Sep 2022 16:48:56 +0000 (7 09:48 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 7 Sep 2022 16:48:56 +0000 (7 09:48 -0700)
tree0d464d3fb42556ac06162db5f0ec4f54a0d241e4
parente59ab469b9a55a4a1aaf3b8b0911cedd15034aee
Add synchronous connection pool option

Summary: Add the sync connection pool code.  This takes advantage of all the previous refactoring work.  The synchronous pool attempts to use as much of the original code as possible.

Reviewed By: jupyung

Differential Revision: D38913824

fbshipit-source-id: 1cf6e850deb2c10ab59a12d64c9ca3b7aadfd8a1
third-party/squangle/src/squangle/mysql_client/AsyncConnectionPool.cpp
third-party/squangle/src/squangle/mysql_client/AsyncConnectionPool.h
third-party/squangle/src/squangle/mysql_client/AsyncMysqlClient.h
third-party/squangle/src/squangle/mysql_client/ConnectionPool.h
third-party/squangle/src/squangle/mysql_client/MysqlClientBase.h
third-party/squangle/src/squangle/mysql_client/Operation.h
third-party/squangle/src/squangle/mysql_client/PoolStorage.h
third-party/squangle/src/squangle/mysql_client/SyncConnectionPool.cpp [new file with mode: 0644]
third-party/squangle/src/squangle/mysql_client/SyncConnectionPool.h [new file with mode: 0644]
third-party/squangle/src/squangle/mysql_client/SyncMysqlClient.cpp
third-party/squangle/src/squangle/mysql_client/SyncMysqlClient.h