mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-13 15:34:38 +01:00
chore: Removed debug code
This commit is contained in:
@@ -192,8 +192,6 @@ func makeEventQuest(s *Session, rows *sql.Rows) ([]byte, error) {
|
||||
|
||||
func calculateNumberOfCycles(duration time.Duration, lastStartTime time.Time) int {
|
||||
timeDifference := time.Now().Sub(lastStartTime)
|
||||
println(timeDifference.String())
|
||||
println(float64(duration))
|
||||
numberOfCycles := int(timeDifference.Nanoseconds() / int64(duration))
|
||||
return numberOfCycles
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user