Skip to content

Commit

Permalink
save some tune option
Browse files Browse the repository at this point in the history
Signed-off-by: Date Huang <[email protected]>
  • Loading branch information
tjjh89017 committed Mar 28, 2024
1 parent d518762 commit 425da72
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ int main(int argc, char **argv)
p.set_int(lt::settings_pack::mixed_mode_algorithm, lt::settings_pack::prefer_tcp);

//p.set_int(lt::settings_pack::alert_mask, lt::alert_category::peer | lt::alert_category::status);

// tune
//p.set_int(lt::settings_pack::suggest_mode, lt::settings_pack::suggest_read_cache);
//p.set_int(lt::settings_pack::max_queued_disk_bytes, 128 * 1024 * 1024);

lt::session_params ses_params(p);
if (!current_config.file_flag) {
Expand Down

0 comments on commit 425da72

Please sign in to comment.