jordidh / multi-tenant-app

Exemple d'aplicació multi tenant
MIT License
0 stars 5 forks source link

Add tests artillery, .bat scripts and warehouse functions #10

Closed Batr0s closed 5 months ago

Batr0s commented 5 months ago

The implementation of the artillery tests and .bat files is to ensure that no deadlocks occur when executing transactions simultaneously, for that purpose we decided to use REPEATABLE READ isolation level and the locking read FOR UPDATE. Furthermore, I did some refactoring in api/warehouse and added two new tables to tenantdb (operation_type and register).