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. |