mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Fixes async payload passing for #68.
This commit is contained in:
@@ -171,7 +171,7 @@ func (s *Server) cacheget(appname, path string) (*models.Route, bool) {
|
||||
return route, ok
|
||||
}
|
||||
|
||||
func (s *Server) cacherefresh(route *models.Route) {
|
||||
func (s *Server) cacheRefresh(route *models.Route) {
|
||||
s.mu.Lock()
|
||||
defer s.mu.Unlock()
|
||||
s.hotroutes.Refresh(route)
|
||||
|
||||
Reference in New Issue
Block a user