Avoid dying when handling large payloads: the sequel
This commit is contained in:
parent
a9fe4a9636
commit
00c8a65879
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ def run(["set_pgroonga_options", pg_options]) do
|
|||
|
||||
Ecto.Adapters.SQL.query!(
|
||||
Pleroma.Repo,
|
||||
"CREATE INDEX object_content_pgroonga ON objects USING pgroonga ((data->'content')) WITH (#{pg_options});",
|
||||
"CREATE INDEX object_content_pgroonga ON objects USING pgroonga ((data->'content') pgroonga_jsonb_full_text_search_ops_v2) WITH (#{pg_options});",
|
||||
[],
|
||||
timeout: :infinity
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue