mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-07-22 06:29:14 -04:00
client: Add support for the Sqlite Queue database from peewee.
This commit is contained in:
parent
8cf1968f53
commit
5c3753a6e1
4 changed files with 27 additions and 3 deletions
|
@ -16,6 +16,7 @@ from nio import (
|
|||
SyncResponse,
|
||||
Timeline,
|
||||
)
|
||||
from nio.store import SqliteStore
|
||||
|
||||
from pantalaimon.client import PanClient
|
||||
from pantalaimon.config import ServerConfig
|
||||
|
@ -45,7 +46,8 @@ async def client(tmpdir, loop):
|
|||
queue.async_q,
|
||||
"@example:example.org",
|
||||
"DEVICEID",
|
||||
tmpdir
|
||||
tmpdir,
|
||||
store_class=SqliteStore
|
||||
)
|
||||
|
||||
yield pan_client
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue