Improve performance of dashboard (#4977)

This commit is contained in:
Lunny Xiao authored and techknowlogick committed 2018-12-13 10:55:43 -05:00
1 parent 49ea6e0deb
commit b3b7598ec6
19 files changed
+350 -94

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ func ListToPushCommits(l *list.List) *PushCommits {
}
commits = append(commits, CommitToPushCommit(commit))
}
return &PushCommits{l.Len(), commits, "", nil}
return &PushCommits{l.Len(), commits, "", make(map[string]string), make(map[string]*User)}
}
// PushUpdateOptions defines the push update options