Преглед изворни кода

Change preallocation default to 2048. 1 may be a little low.

master
Richard Nyberg пре 19 година
родитељ
комит
61752ade71
2 измењених фајлова са 2 додато и 2 уклоњено
  1. +1
    -1
      btpd/main.c
  2. +1
    -1
      btpd/opts.c

+ 1
- 1
btpd/main.c Прегледај датотеку

@@ -111,7 +111,7 @@ usage(void)
"\tListen at port n. Default is 6881.\n"
"\n"
"--prealloc n\n"
"\tPreallocate disk space in chunks of n kB. Default is 1.\n"
"\tPreallocate disk space in chunks of n kB. Default is 2048.\n"
"\tNote that n will be rounded up to the closest multiple of the\n"
"\ttorrent piece size. If n is zero no preallocation will be done.\n"
"\n");


+ 1
- 1
btpd/opts.c Прегледај датотеку

@@ -11,4 +11,4 @@ unsigned net_max_peers;
unsigned net_bw_limit_in;
unsigned net_bw_limit_out;
int net_port = 6881;
off_t cm_alloc_size = 1;
off_t cm_alloc_size = 2048;

Loading…
Откажи
Сачувај