index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
internal
/
db
/
mirror.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'internal/db/mirror.go')
-rw-r--r--
internal/db/mirror.go
2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/mirror.go b/internal/db/mirror.go
index 4ee3ce8e..4313d736 100644
--- a/
internal/db/mirror.go
+++ b/
internal/db/mirror.go
@@ -66,7 +66,7 @@ func (m *Mirror) AfterSet(colName string, _ xorm.Cell) {
}
}
-// ScheduleNextSync calculates and sets next sync time based on repostiroy mirror setting.
+// ScheduleNextSync calculates and sets next sync time based on repository mirror setting.
func (m *Mirror) ScheduleNextSync() {
m.NextSync = time.Now().Add(time.Duration(m.Interval) * time.Hour)
}