diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-29 17:29:02 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-29 17:29:02 +0000 |
commit | 8dd39bc909a7c9fdca1009f1e375de756149e4d7 (patch) | |
tree | ea4062c66ae0b5e9a23ed85ab8aa8458c59b5b98 /src/htslib.c | |
parent | 17ec3ecd6b8d4d5f19f5d50ce34b8bfa2894c3be (diff) |
Take in account opt->maxlink is non-zero
Diffstat (limited to 'src/htslib.c')
-rw-r--r-- | src/htslib.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/htslib.c b/src/htslib.c index fe2863e..d57ce57 100644 --- a/src/htslib.c +++ b/src/htslib.c @@ -5461,13 +5461,8 @@ HTSEXT_API httrackp *hts_create_opt(void) { StringCopy(opt->path_log, ""); StringCopy(opt->path_bin, ""); // -#if HTS_SPARE_MEMORY==0 - opt->maxlink = 100000; // 100,000 liens max par défaut (400Kb) + opt->maxlink = 100000; // 100,000 liens max par défaut opt->maxfilter = 200; // 200 filtres max par défaut -#else - opt->maxlink = 10000; // 10,000 liens max par défaut (40Kb) - opt->maxfilter = 50; // 50 filtres max par défaut -#endif opt->maxcache = 1048576 * 32; // a peu près 32Mo en cache max -- OPTION NON PARAMETRABLE POUR L'INSTANT -- //opt->maxcache_anticipate=256; // maximum de liens à anticiper opt->maxtime = -1; // temps max en secondes |