Skip to content

Commit 18e3917

Browse files
committed
remove delete prints
1 parent 2bf2473 commit 18e3917

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

server/application-server/src/main/java/de/tum/cit/aet/helios/syncing/GitHubDataSyncService.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)