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

postgres: expose database/sql tunables #1357

Merged
merged 1 commit into from
Dec 6, 2018

Commits on Nov 30, 2018

  1. storage/sql/postgres: expose stdlib tunables, set them for tests

    - adapted TestUnmarshalConfig to ensure the fields are read in
    - added a test to see that at least MaxOpenConns works:
      - this is only exposed through (*db).Stats() in go 1.11, so this test
        has a build tag
      - the other two configurables can't be read back, so we've got to
        trust that the mechanism works given the one instance that's tested..
    
    Signed-off-by: Stephan Renatus <srenatus@chef.io>
    srenatus committed Nov 30, 2018
    Configuration menu
    Copy the full SHA
    73fdf4f View commit details
    Browse the repository at this point in the history