Class

SimplePostgresStorageProvider

SimplePostgresStorageProvider(connectionString, trackTransactionsInMemory, maxInMemoryTransactions)

A barebones postgresql storage provider. It is not efficient, but it does work.
Constructor

# new SimplePostgresStorageProvider(connectionString, trackTransactionsInMemory, maxInMemoryTransactions)

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

View Source storage/SimplePostgresStorageProvider.ts, line 7

Classes

SimplePostgresStorageProvider
SimplePostgresStorageProvider