Merge branch 'master' of https://code-repo.d4science.org/antonis.lempesis/UrlsController
This commit is contained in:
commit
f5748434c7
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue