integrated object cache into session and added message bus to object_cache and update tests
This commit is contained in:
@@ -18,6 +18,7 @@ session::session(session_context&& ctx, const basic_schema &scm)
|
||||
: pool_(ctx.dns, ctx.connection_count, [ctx](const sql::connection_info& info) { return sql::connection(info, ctx.resolver_service); })
|
||||
, cache_(ctx.bus, pool_, ctx.cache_size)
|
||||
, dialect_(sql::backend_provider::instance().connection_dialect(pool_.info().type))
|
||||
, object_cache_(ctx.bus)
|
||||
, schema_(scm)
|
||||
, resolver_service_(ctx.resolver_service) {
|
||||
using namespace matador::utils;
|
||||
|
||||
Reference in New Issue
Block a user