changing the signature of Rust cache load_* types of functions to return Option, and refactoring corresponding functions to work in both Postgres and Redis cache database adapter
switched to unbounded channel in PostgresCacheDatabase for inter-thread communication to use sync interface
starting to implement trait CacheDatabaseAdapter for PostgresCacheDatabase which has sync interfaces compared to PostgresCacheDatabase which is using async sqlx methods
Pull Request
load_*
types of functions to returnOption
, and refactoring corresponding functions to work in both Postgres and Redis cache database adapterPostgresCacheDatabase
for inter-thread communication to use sync interfaceCacheDatabaseAdapter
forPostgresCacheDatabase
which has sync interfaces compared toPostgresCacheDatabase
which is using asyncsqlx
methodsawait
in Postgres Rust E2E tests