McCache / McCache-for-Python

MIT License
0 stars 1 forks source link

Read configuration from `pyproject.toml` file #8

Open McCache opened 9 months ago

McCache commented 9 months ago

If a pyproject.toml exist, we should read McCache configuration from it.

Our section shall be [tool.mccache]. All properties are to be in lowercase.

[tool.mccache]
ttl = 900
mtu = 1472

Properties read from pyproject.toml only over-writes the default McCache configuration but does not over-write the configuration set in the environment variable.

McCache commented 9 months ago

Pending testing.