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