start webhook server
This commit is contained in:
parent
f5394c142f
commit
34df884be7
1 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,8 @@ def create_matrix_client(config: Config) -> AsyncClient:
|
||||||
async def start_matrix_client(
|
async def start_matrix_client(
|
||||||
client: AsyncClient, webhook_server: Webhook, cache: Cache, config: Config
|
client: AsyncClient, webhook_server: Webhook, cache: Cache, config: Config
|
||||||
) -> bool:
|
) -> bool:
|
||||||
|
await webhook_server.start()
|
||||||
|
|
||||||
# Keep trying to reconnect on failure (with some time in-between)
|
# Keep trying to reconnect on failure (with some time in-between)
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue