The default timeout for `database set_text_search_config` is too short
Today I want to enable text search for CJK: https://docs.pleroma.social/backend/configuration/howto_search_cjk/
But when I execute ./bin/pleroma_ctl database set_text_search_config pg_jieba
, it always return timeouts.
It turns out that the last step - creating GIN index for toots - usually spends more time than the default timeout (15s). After I prune the database to around 110,000 toots, I finally pass this limitation.
References: