aboutsummaryrefslogtreecommitdiff
path: root/internal/postgres
diff options
context:
space:
mode:
authorJonathan Amsterdam <jba@google.com>2024-10-25 08:58:22 -0400
committerJonathan Amsterdam <jba@google.com>2024-11-08 14:34:36 +0000
commit2e3472f912c5fa2ce9b7bda7db114a289ec70dd3 (patch)
treecaae1cc4dc3354573c30b314853c7ac3bd902478 /internal/postgres
parent2aa6c44990ab54791d376acfb41a7bcea638bfb1 (diff)
downloadgo-x-pkgsite-2e3472f912c5fa2ce9b7bda7db114a289ec70dd3.tar.xz
internal/godoc: increase max doc HTML limit
Double the maximum allowed size of rendered documentation. Increase the maximum file size as well. Also, add information about the documentation size to logs and error messages, so we can see the amount by which the limit was exceeded next time. For golang/go#40576. Change-Id: Ia2aa11915d583e8e0c5ca0e273202a57679bd5f7 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/622556 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cody Oss <codyoss@google.com> kokoro-CI: kokoro <noreply+kokoro@google.com> Reviewed-by: Robert Findley <rfindley@google.com>
Diffstat (limited to 'internal/postgres')
-rw-r--r--internal/postgres/delete.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/postgres/delete.go b/internal/postgres/delete.go
index 6e10a6c8..36bc3ae7 100644
--- a/internal/postgres/delete.go
+++ b/internal/postgres/delete.go
@@ -104,7 +104,7 @@ func deletePackagesInModuleFromSearchDocuments(ctx context.Context, tx *database
if err != nil {
return err
}
- log.Infof(ctx, "deleted %d rows from search_documents: %v", n, pkgPaths)
+ log.Debugf(ctx, "deleted %d rows from search_documents: %v", n, pkgPaths)
return nil
}