diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-12-12 00:03:49 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-12-12 00:03:49 +0000 |
commit | 1224b6d62b7214a4afca27695ff7d789fb6f93d3 (patch) | |
tree | 66fb08633714e7e0eab91df29ca12e7a7d95f8b9 /src/include | |
parent | 9a112a7aa7c1703a9489da7306293ee1b9df7331 (diff) | |
download | gnunet-1224b6d62b7214a4afca27695ff7d789fb6f93d3.tar.gz gnunet-1224b6d62b7214a4afca27695ff7d789fb6f93d3.zip |
start fewer FS probes concurrently, run them all in the same task to avoid undue pressure on the scheduler
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_fs_service.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h index aa2f2076c..9f3ff0d12 100644 --- a/src/include/gnunet_fs_service.h +++ b/src/include/gnunet_fs_service.h | |||
@@ -88,8 +88,10 @@ struct GNUNET_FS_Uri; | |||
88 | * @param is_mandatory is the keyword mandatory (in a search) | 88 | * @param is_mandatory is the keyword mandatory (in a search) |
89 | * @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to abort | 89 | * @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to abort |
90 | */ | 90 | */ |
91 | typedef int (*GNUNET_FS_KeywordIterator) (void *cls, const char *keyword, | 91 | typedef int |
92 | int is_mandatory); | 92 | (*GNUNET_FS_KeywordIterator) (void *cls, |
93 | const char *keyword, | ||
94 | int is_mandatory); | ||
93 | 95 | ||
94 | 96 | ||
95 | 97 | ||