mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
refactor: torrent complete verify cleanup (#7802)
* refactor: rename torrent-complete-verify-enabled to snake_case * docs: add docs for torrent_complete_verify_enabled * code review: correct docs data type
This commit is contained in:
@@ -92,6 +92,7 @@ Here is a sample of the three basic types: respectively Boolean, Number and Stri
|
||||
* **start_paused**: Boolean (default = false) Pause the torrents when daemon starts. _Note: transmission-daemon only._
|
||||
* **tcp-enabled:** Boolean (default = true) Optionally disable TCP connection to other peers. Never disable TCP when you also disable µTP, because then your client would not be able to communicate. Disabling TCP might also break webseeds. Unless you have a good reason, you should not set this to false.
|
||||
* **torrent-added-verify-mode:** String ("fast", "full", default: "fast") Whether newly-added torrents' local data should be fully verified when added, or wait and verify them on-demand later. See [#2626](https://github.com/transmission/transmission/pull/2626) for more discussion.
|
||||
* **torrent_complete_verify_enabled**: Boolean (default = false) Whether to verify the torrent once it finishes downloading.
|
||||
* **utp-enabled:** Boolean (default = true) Enable [Micro Transport Protocol (µTP)](https://en.wikipedia.org/wiki/Micro_Transport_Protocol)
|
||||
* **preferred_transport:** String ("utp" = Prefer µTP, "tcp" = Prefer TCP; default = "utp") Choose your preferred transport protocol (has no effect if one of them is disabled).
|
||||
* **sleep-per-seconds-during-verify:** Number (default = 100) Controls the duration in milliseconds for which the verification process will pause to reduce disk I/O pressure.
|
||||
|
||||
@@ -367,13 +367,13 @@ auto constexpr MyStatic = std::array<std::string_view, TR_N_KEYS>{
|
||||
"torrent-complete-notification-enabled"sv,
|
||||
"torrent-complete-sound-command"sv,
|
||||
"torrent-complete-sound-enabled"sv,
|
||||
"torrent-complete-verify-enabled"sv,
|
||||
"torrent-duplicate"sv,
|
||||
"torrent-get"sv,
|
||||
"torrent-set"sv,
|
||||
"torrent-set-location"sv,
|
||||
"torrentCount"sv,
|
||||
"torrentFile"sv,
|
||||
"torrent_complete_verify_enabled"sv,
|
||||
"torrents"sv,
|
||||
"totalSize"sv,
|
||||
"total_size"sv,
|
||||
|
||||
@@ -369,13 +369,13 @@ enum // NOLINT(performance-enum-size)
|
||||
TR_KEY_torrent_complete_notification_enabled,
|
||||
TR_KEY_torrent_complete_sound_command,
|
||||
TR_KEY_torrent_complete_sound_enabled,
|
||||
TR_KEY_torrent_complete_verify_enabled,
|
||||
TR_KEY_torrent_duplicate,
|
||||
TR_KEY_torrent_get,
|
||||
TR_KEY_torrent_set,
|
||||
TR_KEY_torrent_set_location,
|
||||
TR_KEY_torrentCount,
|
||||
TR_KEY_torrentFile,
|
||||
TR_KEY_torrent_complete_verify_enabled,
|
||||
TR_KEY_torrents,
|
||||
TR_KEY_totalSize,
|
||||
TR_KEY_total_size,
|
||||
|
||||
Reference in New Issue
Block a user