Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation refactor for Client-based interface #286

Merged
merged 26 commits into from
Feb 2, 2022
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
d18d72b
Don't acquire loop before the first acquire
fantix Jan 4, 2022
0e12e66
Protect the first pool connection with a lock
fantix Jan 4, 2022
5386427
Clean create_async_client() API and doc
fantix Jan 4, 2022
529a23a
Unnecessary _options assignment in _shallow_clone()?
fantix Jan 4, 2022
5fdb357
Drop _borrowed_for
fantix Dec 24, 2021
f5cf6a0
Move _loop and _log_listeners away from _InnerConnection
fantix Dec 24, 2021
ab0d87e
Move _addrs, _config and _params away from _InnerConnection
fantix Dec 24, 2021
ae4e42f
Move _codecs_registry and _query_cache away from _InnerConnection
fantix Dec 27, 2021
9ef5970
Drop _InnerConnection
fantix Jan 3, 2022
11cb497
Drop `AsyncIOClient._acquire()` and `_release()`
fantix Jan 6, 2022
053ab77
Merge Connection and RawConnection
fantix Jan 7, 2022
b405dca
Merge *_con.py and *_pool.py into *_client.py
fantix Jan 10, 2022
5d4a0a5
Extract redundant code into BaseClient and BaseImpl
fantix Jan 10, 2022
1f51604
Partially revert 2bd27aee: test_pool.py
fantix Jan 10, 2022
97d212b
Fix previously-deleted pool tests
fantix Jan 11, 2022
447e585
Add __slots__ to Connection classes
fantix Jan 11, 2022
3f52217
Add pool to blocking client and drop single-conn
fantix Jan 11, 2022
d6b291d
Add wait_for_disconnect to blocking client
fantix Jan 12, 2022
5ae055f
Refactor: use _iter_coroutine() on top level
fantix Jan 17, 2022
386004c
Fix a racing bug of using expire_connection()
fantix Jan 18, 2022
13bc2bd
Improve reliability of test_client_config_persistence
fantix Jan 18, 2022
7269f8a
Drop on_connect, on_acquire and on_release hooks
fantix Jan 19, 2022
4100f1c
Drop public expire_connections()
fantix Jan 19, 2022
e6733ef
Rename concurrnecy to max_concurrency
fantix Jan 19, 2022
86fb29e
CRF: API updates
fantix Jan 19, 2022
4d39df0
Merge branch 'master' into refactor
fantix Feb 2, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.