You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf: remove repeated GetSession calls for FixedSizePool (#1252)
* test: add mock server tests
* chore: move to testing folder + fix formatting
* refactor: move mock server tests to separate directory
* feat: add database admin service
Adds a DatabaseAdminService to the mock server and sets up a basic
test case for this.
Also removes the generated stubs in the grpc files, as these are
not needed.
* test: add DDL test
* test: add async client tests
* chore: remove async + add transaction handling
* chore: cleanup
* perf: remove repeated GetSession calls for FixedSizePool
Add a _last_use_time to Session and use this to determine whether the
FixedSizePool should check whether the session still exists, and whether
it should be replaced. This significantly reduces the number of times that
GetSession is called when using FixedSizePool.
* chore: run code formatter
* chore: revert to utcnow()
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* fix: update _last_use_time in trace_call
* chore: fix formatting
* fix: remove unnecessary update of _last_use_time
---------
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
0 commit comments