File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
server/application-server/src/main/java/de/tum/cit/aet/helios/syncing Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -45,14 +45,12 @@ public void syncData() {
4545
4646 // Get last sync time
4747 var lastSync = dataSyncStatusRepository .findTopByOrderByStartTimeDesc ();
48- System .out .println ("lastSync: " + lastSync );
4948 if (lastSync .isPresent ()) {
5049 var lastSyncTime = lastSync .get ().getStartTime ();
5150 cutoffDate = lastSyncTime .isAfter (cutoffDate ) ? lastSyncTime : cutoffDate ;
5251 }
5352
5453 var cooldownTime = OffsetDateTime .now ().minusMinutes (runOnStartupCooldownInMinutes );
55- System .out .println ("cooldownTime: " + cooldownTime );
5654 if (lastSync .isPresent () && lastSync .get ().getStartTime ().isAfter (cooldownTime )) {
5755 logger .info ("Skipping sync, last sync was less than {} minutes ago" , runOnStartupCooldownInMinutes );
5856 return ;
You can’t perform that action at this time.
0 commit comments