hi folks, what's the db flush interval for the pac...
# pact-broker
s
hi folks, what's the db flush interval for the pact-broker? We noticed that taking a pg_dump of the postgres db doesn't necessarily include very last minute changes that are available through the api, though we had pretty limited testing, could've missed something.
m
Hmmm interesting question, I don’t think there is any specific configuration set in the app for this (I could be wrong). So I suspect it’s whatever the default is on the pg instance itself
s
yeah, it's not a big deal, but kinda curious
m
We use the
pg
gem, and there are some hints at the flush behaviour here: https://github.com/search?q=repo%3Aged%2Fruby-pg%20flush&type=code
This change seems relevant: https://github.com/ged/ruby-pg/pull/462