aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_api.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-10-05 07:55:28 +0000
committerChristian Grothoff <christian@grothoff.org>2012-10-05 07:55:28 +0000
commit17276ed4b30d150d540e8ec270ccf96be6f5ee29 (patch)
tree57d18271fec19876c4842258d96af521ffa3d5bb /src/fs/fs_api.h
parent07eb9c1e6c98769306b16a31f7ad9d3b454b0e2e (diff)
downloadgnunet-17276ed4b30d150d540e8ec270ccf96be6f5ee29.tar.gz
gnunet-17276ed4b30d150d540e8ec270ccf96be6f5ee29.zip
-trying to fix bratao's 100% CPU bug, even though I wonder if this can really be it, as there was a 1s delay already; anyway, exponential back-off is better
Diffstat (limited to 'src/fs/fs_api.h')
-rw-r--r--src/fs/fs_api.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/fs/fs_api.h b/src/fs/fs_api.h
index 9325c6023..d4b7aa202 100644
--- a/src/fs/fs_api.h
+++ b/src/fs/fs_api.h
@@ -1536,6 +1536,11 @@ struct GNUNET_FS_SearchContext
1536 struct GNUNET_TIME_Absolute start_time; 1536 struct GNUNET_TIME_Absolute start_time;
1537 1537
1538 /** 1538 /**
1539 * How long to wait before we try to reconnect to FS service?
1540 */
1541 struct GNUNET_TIME_Relative reconnect_backoff;
1542
1543 /**
1539 * ID of a task that is using this struct and that must be cancelled 1544 * ID of a task that is using this struct and that must be cancelled
1540 * when the search is being stopped (if not 1545 * when the search is being stopped (if not
1541 * GNUNET_SCHEDULER_NO_TASK). Used for the task that adds some 1546 * GNUNET_SCHEDULER_NO_TASK). Used for the task that adds some
@@ -1900,6 +1905,11 @@ struct GNUNET_FS_DownloadContext
1900 struct GNUNET_TIME_Absolute start_time; 1905 struct GNUNET_TIME_Absolute start_time;
1901 1906
1902 /** 1907 /**
1908 * How long to wait before we try to reconnect to FS service?
1909 */
1910 struct GNUNET_TIME_Relative reconnect_backoff;
1911
1912 /**
1903 * Desired level of anonymity. 1913 * Desired level of anonymity.
1904 */ 1914 */
1905 uint32_t anonymity; 1915 uint32_t anonymity;