Merge branch 'develop' into dist/risotto/risotto-2.8.0/develop
This commit is contained in:
commit
b0edfb7b01
|
@ -260,6 +260,15 @@ class PublishDispatcher:
|
||||||
False,
|
False,
|
||||||
False,
|
False,
|
||||||
)
|
)
|
||||||
|
async with self.pool.acquire() as log_connection:
|
||||||
|
await log_connection.set_type_codec(
|
||||||
|
'json',
|
||||||
|
encoder=dumps,
|
||||||
|
decoder=loads,
|
||||||
|
schema='pg_catalog'
|
||||||
|
)
|
||||||
|
async with log_connection.transaction():
|
||||||
|
risotto_context.log_connection = log_connection
|
||||||
async with self.pool.acquire() as connection:
|
async with self.pool.acquire() as connection:
|
||||||
await connection.set_type_codec(
|
await connection.set_type_codec(
|
||||||
'json',
|
'json',
|
||||||
|
|
Loading…
Reference in New Issue