Class

SimplePostgresStorageProvider

SimplePostgresStorageProvider#SimplePostgresStorageProvider(connectionString, trackTransactionsInMemory, maxInMemoryTransactions)

Constructor

# new SimplePostgresStorageProvider(connectionString, trackTransactionsInMemory, maxInMemoryTransactions)

Creates a new simple postgresql storage provider.
Parameters:
Name Type Description
connectionString The `postgres://` connection string to use.
trackTransactionsInMemory True (default) to track all received appservice transactions rather than on disk.
maxInMemoryTransactions The maximum number of transactions to hold in memory before rotating the oldest out. Defaults to 20.

View Source storage/SimplePostgresStorageProvider.ts, line 165