diff --git a/docker-compose.yaml b/docker-compose.yaml index 50b061af..3f8f8a16 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -29,10 +29,10 @@ services: - zep-network healthcheck: test: timeout 10s bash -c ':> /dev/tcp/127.0.0.1/8080' || exit 1 - interval: 5s - timeout: 10s - retries: 3 - start_period: 10s + interval: 10s + timeout: 5s + retries: 5 + start_period: 45s ports: - "8080:8080" zep: @@ -70,4 +70,4 @@ configs: file: ./config.yaml networks: zep-network: - driver: bridge \ No newline at end of file + driver: bridge diff --git a/pkg/llms/embeddings_local.go b/pkg/llms/embeddings_local.go index f073ff02..1fb79fdf 100644 --- a/pkg/llms/embeddings_local.go +++ b/pkg/llms/embeddings_local.go @@ -67,7 +67,7 @@ func embedTextsLocal( } func makeEmbedRequest(ctx context.Context, url string, jsonBody []byte) ([]byte, error) { - httpClient := &http.Client{Timeout: 5 * time.Second} + httpClient := &http.Client{Timeout: 10 * time.Second} req, err := http.NewRequestWithContext(ctx, http.MethodPost, url, bytes.NewBuffer(jsonBody)) if err != nil { return nil, err