Download the PHP package morebec/orkestra-postgresql-timeout-storage without Composer
On this page you can find all versions of the php package morebec/orkestra-postgresql-timeout-storage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download morebec/orkestra-postgresql-timeout-storage
More information about morebec/orkestra-postgresql-timeout-storage
Files in morebec/orkestra-postgresql-timeout-storage
Package orkestra-postgresql-timeout-storage
Short Description PostgreSQL Timeout Storage for Orkestra
License Apache-2.0
Informations about the package orkestra-postgresql-timeout-storage
PostgreSQL Timeout Storage
This component is an implementation of a TimeoutStorage from the [Messaging Component]() using PostgreSQL.
Installation
Usage
Configuration
The PostgreSqlTimeoutStorageConfiguration
class is used to configure the behavior of the timeout storage.
You can for example change the polling interval according to the needs of the application developed.
Usually PostgreSQL is capable of handling polling efficiently, but of course, it always adds a little more work on it. It is advised to set up the
pollingInterval
to the minimum frequency at which new Timeouts are added in your application.
Testing
To run the tests execute the following command:
It is required to have an instance of postgresql running with a password-less role postgres
and a database named postgres
.
To easily get this setup and running a docker-compose
configuration file is available at the root of this project.
To run it simply execute the following command:
All versions of orkestra-postgresql-timeout-storage with dependencies
ext-json Version *
ext-pgsql Version *
ext-pdo_pgsql Version *
doctrine/dbal Version ^3.0
morebec/orkestra-datetime Version ^2.5.6
morebec/orkestra-messaging Version ^2.5.6
morebec/orkestra-normalization Version ^2.5.6