Skip to content

Commit

Permalink
timestamp change
Browse files Browse the repository at this point in the history
  • Loading branch information
ljmerza committed Dec 29, 2023
1 parent df2d189 commit 7fdcc44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ func parseLogLine(logLine string) {
fmt.Printf("Total size bytes: %f\n", totalSizeBytes)
totalSizeGauge.Set(totalSizeBytes)

fmt.Printf("Setting last sync time to %d\n", time.Now().UnixNano() / 1e6)
lastRsyncExecutionTime.Set(float64(time.Now().UnixNano()) / 1e6)
fmt.Printf("Setting last sync time to %d\n", time.Now().UnixNano() / 1e3)
lastRsyncExecutionTime.Set(float64(time.Now().UnixNano()) / 1e3)
lastRsyncExecutionTimeValid.Set(1)
}
}
Expand Down

0 comments on commit 7fdcc44

Please sign in to comment.