mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:11:49 +00:00
zoekt: set -indexserver_proxy for webserver (#44995)
Relates to https://github.com/sourcegraph/zoekt/pull/487 We set the new flag for local dev and server.
This commit is contained in:
parent
d53e8a7061
commit
8305be2e66
@ -23,6 +23,6 @@ func maybeZoektProcFile() []string {
|
||||
|
||||
return []string{
|
||||
fmt.Sprintf("zoekt-indexserver: env GOGC=25 HOSTNAME=%s zoekt-sourcegraph-indexserver -sourcegraph_url http://%s -index %s -interval 1m -listen 127.0.0.1:6072 -cpu_fraction 0.25", defaultHost, frontendInternalHost, indexDir),
|
||||
fmt.Sprintf("zoekt-webserver: env GOGC=25 zoekt-webserver -rpc -pprof -listen %s -index %s", defaultHost, indexDir),
|
||||
fmt.Sprintf("zoekt-webserver: env GOGC=25 zoekt-webserver -rpc -pprof -indexserver_proxy -listen %s -index %s", defaultHost, indexDir),
|
||||
}
|
||||
}
|
||||
|
||||
@ -31,7 +31,7 @@ indexserver)
|
||||
;;
|
||||
|
||||
webserver)
|
||||
exec env JAEGER_DISABLED=false zoekt-webserver -index "$index" -pprof -rpc -listen ":$webport"
|
||||
exec env JAEGER_DISABLED=false zoekt-webserver -index "$index" -pprof -rpc -indexserver_proxy -listen ":$webport"
|
||||
;;
|
||||
|
||||
*)
|
||||
|
||||
@ -455,11 +455,11 @@ commands:
|
||||
|
||||
zoekt-web-0:
|
||||
<<: *zoekt_webserver_template
|
||||
cmd: env PATH="${PWD}/.bin:$PATH" .bin/zoekt-webserver -index "$HOME/.sourcegraph/zoekt/index-0" -pprof -rpc -listen "127.0.0.1:3070"
|
||||
cmd: env PATH="${PWD}/.bin:$PATH" .bin/zoekt-webserver -index "$HOME/.sourcegraph/zoekt/index-0" -pprof -rpc -indexserver_proxy -listen "127.0.0.1:3070"
|
||||
|
||||
zoekt-web-1:
|
||||
<<: *zoekt_webserver_template
|
||||
cmd: env PATH="${PWD}/.bin:$PATH" .bin/zoekt-webserver -index "$HOME/.sourcegraph/zoekt/index-1" -pprof -rpc -listen "127.0.0.1:3071"
|
||||
cmd: env PATH="${PWD}/.bin:$PATH" .bin/zoekt-webserver -index "$HOME/.sourcegraph/zoekt/index-1" -pprof -rpc -indexserver_proxy -listen "127.0.0.1:3071"
|
||||
|
||||
codeintel-worker:
|
||||
cmd: |
|
||||
|
||||
Loading…
Reference in New Issue
Block a user