flow-hydraulics / flow-pds

This repository is currently not maintained
4 stars 8 forks source link

Skip events on invalid state, increase grpc max size #143

Open fkenji opened 2 years ago

latenssi commented 2 years ago

@fkenji I just merged your previous PR fixing the testnet key errors. Could you rebase this PR, if this would fix the error we are seeing here?

latenssi commented 2 years ago

This PR changes the default database from sqlite to psql and also forces the test to be run against the default database regardless of the env setup. It could be a bit hazardous running tests against the default database.

Should we add separate env variables for test database config so we could have sane defaults for both test and "prod" and still be able to change both per environment?

Something like: FLOW_PDS_TEST_DATABASE_DSN FLOW_PDS_TEST_DATABASE_TYPE