diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-04-27 13:40:04 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-04-27 13:40:04 +0000 |
commit | 9c50ed21bb57e53eaa0b0011b1523f1984c857f3 (patch) | |
tree | b9498d1bfcf595b74ad5e6511edba6fce42df79f /src/include | |
parent | 2cb9c03d745f69e5cfd0964a75aff1a33acf838f (diff) | |
download | gnunet-9c50ed21bb57e53eaa0b0011b1523f1984c857f3.tar.gz gnunet-9c50ed21bb57e53eaa0b0011b1523f1984c857f3.zip |
bounded parallelism
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_fs_service.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h index 64bfda3ba..a228d0263 100644 --- a/src/include/gnunet_fs_service.h +++ b/src/include/gnunet_fs_service.h | |||
@@ -1476,7 +1476,15 @@ enum GNUNET_FS_OPTIONS | |||
1476 | * followed by an "unsigned int" giving the desired maximum number | 1476 | * followed by an "unsigned int" giving the desired maximum number |
1477 | * of parallel downloads). | 1477 | * of parallel downloads). |
1478 | */ | 1478 | */ |
1479 | GNUNET_FS_OPTIONS_DOWNLOAD_PARALLELISM = 1 | 1479 | GNUNET_FS_OPTIONS_DOWNLOAD_PARALLELISM = 1, |
1480 | |||
1481 | /** | ||
1482 | * Maximum number of requests that should be pending at a given | ||
1483 | * point in time (invidivual downloads may go above this, but | ||
1484 | * if we are above this threshold, we should not activate any | ||
1485 | * additional downloads. | ||
1486 | */ | ||
1487 | GNUNET_FS_OPTIONS_REQUEST_PARALLELISM = 2 | ||
1480 | 1488 | ||
1481 | }; | 1489 | }; |
1482 | 1490 | ||