move upstream into own package
This commit is contained in:
10
server/upstream/2rm.go
Normal file
10
server/upstream/2rm.go
Normal file
@ -0,0 +1,10 @@
|
||||
package upstream
|
||||
|
||||
import "github.com/OrlovEvgeny/go-mcache"
|
||||
|
||||
// branchTimestampCache stores branch timestamps for faster cache checking
|
||||
var branchTimestampCache = mcache.New()
|
||||
|
||||
// fileResponseCache stores responses from the Gitea server
|
||||
// TODO: make this an MRU cache with a size limit
|
||||
var fileResponseCache = mcache.New()
|
Reference in New Issue
Block a user