aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_cp.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-12-25 20:45:28 +0000
committerChristian Grothoff <christian@grothoff.org>2011-12-25 20:45:28 +0000
commit89ead6c361a291cc25045cb8c519394ddffb48fb (patch)
tree666c1ae5d42e0a5889e1f8df7fac55238648a757 /src/fs/gnunet-service-fs_cp.h
parentbc88c28ea1dc99ef2ea452b69ed8622981937cd0 (diff)
downloadgnunet-89ead6c361a291cc25045cb8c519394ddffb48fb.tar.gz
gnunet-89ead6c361a291cc25045cb8c519394ddffb48fb.zip
fixing migration stop delay calculation, largely by first calculating datastore load correctly and then by better distinguishing between datastore full, datastore timeout and success and finally by adding per-peer tracking of the current block interval to adjust to repeated undesireable behavior. See #2029.
Diffstat (limited to 'src/fs/gnunet-service-fs_cp.h')
-rw-r--r--src/fs/gnunet-service-fs_cp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/fs/gnunet-service-fs_cp.h b/src/fs/gnunet-service-fs_cp.h
index 1abec2ad0..e3c7cd227 100644
--- a/src/fs/gnunet-service-fs_cp.h
+++ b/src/fs/gnunet-service-fs_cp.h
@@ -93,6 +93,13 @@ struct GSF_PeerPerformanceData
93 struct GNUNET_TIME_Relative avg_reply_delay; 93 struct GNUNET_TIME_Relative avg_reply_delay;
94 94
95 /** 95 /**
96 * If we get content we already have from this peer, for how
97 * long do we block him? Adjusted based on the fraction of
98 * redundant data we receive, between 1s and 1h.
99 */
100 struct GNUNET_TIME_Relative migration_delay;
101
102 /**
96 * Point in time until which this peer does not want us to migrate content 103 * Point in time until which this peer does not want us to migrate content
97 * to it. 104 * to it.
98 */ 105 */