race condition
This commit is contained in:
parent
674b5dc0c6
commit
5d5366a7e0
@ -71,7 +71,7 @@ public class TenantLiquibaseInitializer {
|
|||||||
|
|
||||||
|
|
||||||
@SneakyThrows
|
@SneakyThrows
|
||||||
public void initializeTenant(String tenantId) {
|
public synchronized void initializeTenant(String tenantId) {
|
||||||
|
|
||||||
var tenant = tenantProvider.getTenant(tenantId);
|
var tenant = tenantProvider.getTenant(tenantId);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user