forked from picotorrent/picotorrent
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exposed a bunch of libtorrent settings accessible in the advanced set…
…tings menu.
- Loading branch information
1 parent
94eeb2f
commit 9de7bbb
Showing
4 changed files
with
160 additions
and
8 deletions.
There are no files selected for viewing
51 changes: 51 additions & 0 deletions
51
res/dbmigrations/20230511023104_extend_advanced_settings.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
INSERT INTO setting (key, value, default_value) | ||
VALUES | ||
('libtorrent.allow_multiple_connections_per_ip', NULL, 'false'), | ||
('libtorrent.allowed_fast_set_size', NULL, '5'), | ||
('libtorrent.auto_manage_interval', NULL, '30'), | ||
('libtorrent.auto_manage_prefer_seeds', NULL, 'false'), | ||
('libtorrent.auto_scrape_interval', NULL, '1800'), | ||
('libtorrent.auto_scrape_min_interval', NULL, '300'), | ||
('libtorrent.checking_mem_usage', NULL, '256'), | ||
('libtorrent.choking_algorithm', NULL, '0'), | ||
('libtorrent.seed_choking_algorithm', NULL, '0'), | ||
('libtorrent.connection_speed', NULL, '30'), | ||
('libtorrent.disk_write_mode', NULL, '2'), | ||
('libtorrent.dont_count_slow_torrents', NULL, 'true'), | ||
('libtorrent.file_pool_size', NULL, '40'), | ||
('libtorrent.hashing_threads', NULL, '1'), | ||
('libtorrent.inactive_down_rate', NULL, '2048'), | ||
('libtorrent.inactive_up_rate', NULL, '2048'), | ||
('libtorrent.inactivity_timeout', NULL, '600'), | ||
('libtorrent.incoming_starts_queued_torrents', NULL, 'false'), | ||
('libtorrent.initial_picker_threshold', NULL, '4'), | ||
('libtorrent.listen_queue_size', NULL, '5'), | ||
('libtorrent.max_allowed_in_request_queue', NULL, '2000'), | ||
('libtorrent.max_failcount', NULL, '3'), | ||
('libtorrent.max_out_request_queue', NULL, '500'), | ||
('libtorrent.max_peer_recv_buffer_size', NULL, '2097152'), | ||
('libtorrent.max_queued_disk_bytes', NULL, '1048576'), | ||
('libtorrent.max_rejects', NULL, '50'), | ||
('libtorrent.min_reconnect_time', NULL, '60'), | ||
('libtorrent.mixed_mode_algorithm', NULL, '1'), | ||
('libtorrent.mmap_file_size_cutoff', NULL, '40'), | ||
('libtorrent.no_atime_storage', NULL, 'true'), | ||
('libtorrent.peer_timeout', NULL, '120'), | ||
('libtorrent.peer_turnover', NULL, '4'), | ||
('libtorrent.peer_turnover_interval', NULL, '90'), | ||
('libtorrent.peer_turnover_cutoff', NULL, '300'), | ||
('libtorrent.predictive_piece_announce', NULL, '0'), | ||
('libtorrent.rate_choker_initial_threshold', NULL, '1024'), | ||
('libtorrent.request_timeout', NULL, '60'), | ||
('libtorrent.seed_time_ratio_limit', NULL, '700'), | ||
('libtorrent.share_ratio_limit', NULL, '200'), | ||
('libtorrent.send_buffer_low_watermark', NULL, '10240'), | ||
('libtorrent.send_buffer_watermark', NULL, '512000'), | ||
('libtorrent.send_buffer_watermark_factor', NULL, '50'), | ||
('libtorrent.send_not_sent_low_watermark', NULL, '16384'), | ||
('libtorrent.strict_end_game_mode', NULL, 'true'), | ||
('libtorrent.suggest_mode', NULL, '0'), | ||
('libtorrent.torrent_connect_boost', NULL, '30'), | ||
('libtorrent.unchoke_slots_limit', NULL, '8'), | ||
('libtorrent.use_parole_mode', NULL, 'true'), | ||
('libtorrent.whole_pieces_threshold', NULL, '20'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.