Skip to main content

LtSettingsPack

A settings pack which you can use to update session settings.

There are hundreds of settings to tinker with, and the LtSettingsPack has getters and setters for all.

See the libtorrent documentation.

Example​

Set the download rate limit on a settings pack to 1024 bytes per second.

local settings = LtSettingsPack()
settings.download_rate_limit = 1024

some_session:apply_settings(settings)

Constructors​

LtSettingsPack()​

v0.42.0

Returns an empty settings pack.

Factories​

LtSettingsPack.default_settings()​

v0.42.0

LtSettingsPack.high_performance_seed()​

v0.42.0

Example​

local settings = LtSettingsPack.high_performance_seed()

LtSettingsPack.min_memory_usage()​

v0.42.0