mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -106,6 +106,7 @@ func ProxyFunc(w http.ResponseWriter, req *http.Request) {
|
|||||||
// 2) This host has active workers so we do the proxy
|
// 2) This host has active workers so we do the proxy
|
||||||
// 3) This host has no active workers so we queue one (or more) up and return a 503 or something with message that says "try again in a minute"
|
// 3) This host has no active workers so we queue one (or more) up and return a 503 or something with message that says "try again in a minute"
|
||||||
// route := routingTable[host]
|
// route := routingTable[host]
|
||||||
|
fmt.Println("getting route for host:", host)
|
||||||
route, err := getRoute(host)
|
route, err := getRoute(host)
|
||||||
// choose random dest
|
// choose random dest
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user