forked from premiere/premiere-libtorrent
Add 'cache_size' and 'cache_expiry' session settings to the python bindings
This commit is contained in:
parent
3e7bd46706
commit
75d06a7a64
|
@ -47,6 +47,8 @@ void bind_session_settings()
|
||||||
.def_readwrite("peer_tos", &session_settings::peer_tos)
|
.def_readwrite("peer_tos", &session_settings::peer_tos)
|
||||||
.def_readwrite("rate_limit_ip_overhead", &session_settings::rate_limit_ip_overhead)
|
.def_readwrite("rate_limit_ip_overhead", &session_settings::rate_limit_ip_overhead)
|
||||||
.def_readwrite("outgoing_ports", &session_settings::outgoing_ports)
|
.def_readwrite("outgoing_ports", &session_settings::outgoing_ports)
|
||||||
|
.def_readwrite("cache_size", &session_settings::cache_size)
|
||||||
|
.def_readwrite("cache_expiry", &session_settings::cache_expiry)
|
||||||
#ifndef TORRENT_DISABLE_DHT
|
#ifndef TORRENT_DISABLE_DHT
|
||||||
.def_readwrite("use_dht_as_fallback", &session_settings::use_dht_as_fallback)
|
.def_readwrite("use_dht_as_fallback", &session_settings::use_dht_as_fallback)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue