makara icon indicating copy to clipboard operation
makara copied to clipboard

Statement timeout

Open chadwilken opened this issue 7 years ago • 2 comments

Using default AR you can set variables in the database.yml config for statement_timeout and other pg items, is there a way to make it work with Makara? In my testing Makara seems to ignore all but a few standard keys.

chadwilken avatar Jun 30 '18 05:06 chadwilken

Still curious about this if anyone has an answer

chadwilken avatar Nov 14 '18 19:11 chadwilken

It should pas through the normal pg ones through to the Postgres adapter.

production:
  adapter: 'pg_makara'
  database: 'MyAppProduction'
  # any other standard AR configurations

  # add a makara subconfig
  makara:

    # optional id to identify the proxy with this configuration for stickiness

bleonard avatar Nov 19 '18 08:11 bleonard