mirror of
https://github.com/postgresml/pgcat.git
synced 2026-05-31 23:19:05 +00:00
9e8ef566c6
This change adds a new configuration parameter called `worker_threads` that allows setting the number of workers the Tokio Runtime will use. It defaults to 4 to maintain backward compatibility. Given that the config file parse is done asynchronously, first, a transient runtime is created for reading config, and once it has been parsed, the actual runtime that will be used for PgCat execution is created.