Parcourir la Source

Revert "Use the cache"

This reverts commit 77c8ac593c8f315e63c130b90374ab3f8cf17d9d.

We don't need this yet, it's better to fix the underlying performance
issues first.
Lucas Stadler 8 ans auparavant
Parent
commit
03bddef23f
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      quit.go

+ 1 - 2
quit.go

@ -39,7 +39,6 @@ func main() {
39 39
		log.Fatal("opening repository: ", err)
40 40
	}
41 41
42
	fancyRepo := NewFancyRepo(repo)
43 42
	http.HandleFunc("/", func(w http.ResponseWriter, req *http.Request) {
44 43
		performance.MeasureRequest(req)
45 44
@ -47,7 +46,7 @@ func main() {
47 46
		start := time.Now()
48 47
		err = repoTmpl.Execute(buf, map[string]interface{}{
49 48
			"RepoPath":    path.Base(repoPath),
50
			"Repo":        fancyRepo,
49
			"Repo":        NewFancyRepo(repo),
51 50
			"Style":       template.CSS(repoStyle),
52 51
			"Performance": performance.Render(req),
53 52
		})