Skip to content

Document the ACTIX_THREADPOOL env variable for use with mysql databases and change example config to set it to a large number #441

Closed
@fzzzy

Description

We're now using the actix threadpool instead of tokio-threadpool in the actix-web 2 branch. Thus, there is a different environment variable, ACTIX_THREADPOOL, we need to set to set the size of the threadpool. It defaults to num_cores * 5. We should probably set it to 128 or some other large number.

Metadata

Assignees

Labels

1Estimate - xs - This is a trivial change with clearly defined parameters.good first bugLow priority, but valuable contributionsself-hosting-phase1Related to self hosting support (Phase I, Mysql Support)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions