Allow connectionOptions to change during runtime
See original GitHub issueCreated as a product of the discussion in #242
Feature
When creating a PgPool
using the PgPool#pool
factory method, provide a way to use a Supplier<PgConnectOptions>
instead of plain PgConnectOptions
. This will allow changes to the connect options to apply to new connections created by the pool.
Use cases
- Change credentials periodically (e.g. token with expiration)
- Change hosts at runtime
Contribution
If you lack the time and want me to create a PR for this, let me know 😃
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
class Runtime · AWS CDK
Whether this runtime is integrated with and supported for profiling using Amazon CodeGuru Profiler. supportsInlineCode. Type: boolean. Whether the ZipFile (aka ...
Read more >How To Configure Custom Connection Options for your SSH ...
OpenSSH, the most commonly used command-line SSH client on most systems, allows you to provide customized connection options.
Read more >View script runtime settings in Performance Center - connect ...
When editing a test and trying to view a scripts runtime settings I get ... and that SQL Server is configured to allow...
Read more >Configuring advanced options for ESXi/ESX (1038578)
Click the Edit pencil icon. Change the configuration option to the desired new value. Click OK to accept the changes. Note: If an...
Read more >Working with network connection options
become and become_method as described in Privilege Escalation: enable mode, ... For example, the three options for controlling the connection timeout are as ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
we are working on a new pool and it will be part of it.
you can expect this in 4.1.1 by end of next week
On Tue, Jun 29, 2021 at 12:06 PM robotmrv @.***> wrote: