This commit is contained in:
Antonis Lempesis 2022-01-31 14:01:39 +02:00
commit f5748434c7
1 changed files with 2 additions and 2 deletions

View File

@ -19,9 +19,9 @@ public final class ImpalaConnector {
@Autowired
private JdbcTemplate jdbcTemplate;
@Value("${services.pdfaggregation.controller.db.oldDatabaseName}:pdfaggregation_i")
@Value("${services.pdfaggregation.controller.db.oldDatabaseName}")
public static String oldDatabaseName;
@Value("${services.pdfaggregation.controller.db.databaseName}:pdfAggregationDatabase")
@Value("${services.pdfaggregation.controller.db.databaseName}")
public static String databaseName;
public static final Lock databaseLock = new ReentrantLock(true); // This lock is locking the threads trying to execute queries in the database.