Skip to content

Commit

Permalink
fix: Update time for resource tables
Browse files Browse the repository at this point in the history
  • Loading branch information
maikelarabori committed Nov 16, 2023
1 parent a5c3811 commit 86d6454
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,6 @@ public void generateResourceTables(JobProgress progress) {
// -------------------------------------------------------------------------

private void generateResourceTablesInternal(JobProgress progress) {
final Date startTime = new Date();

resourceTableService.dropAllSqlViews(progress);

Map<String, Runnable> generators = new LinkedHashMap<>();
Expand Down Expand Up @@ -184,6 +182,6 @@ private void generateResourceTablesInternal(JobProgress progress) {
resourceTableService.createAllSqlViews(progress);

systemSettingManager.saveSystemSetting(
SettingKey.LAST_SUCCESSFUL_RESOURCE_TABLES_UPDATE, startTime);
SettingKey.LAST_SUCCESSFUL_RESOURCE_TABLES_UPDATE, new Date());
}
}

0 comments on commit 86d6454

Please sign in to comment.