Merge branch 'RED-6661-fixes' into 'main'
race condition See merge request fforesight/database-tenant-commons!17
This commit is contained in:
commit
4b680acd42
@ -71,7 +71,7 @@ public class TenantLiquibaseInitializer {
|
||||
|
||||
|
||||
@SneakyThrows
|
||||
public void initializeTenant(String tenantId) {
|
||||
public synchronized void initializeTenant(String tenantId) {
|
||||
|
||||
var tenant = tenantProvider.getTenant(tenantId);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user