GNUNET_TIME_relative_hton (GNUNET_TIME_absolute_get_remaining
(cp->last_migration_block));
memcpy (buf, &msm, sizeof (struct MigrationStopMessage));
+ GNUNET_STATISTICS_update (GSF_stats,
+ gettext_noop ("# migration stop messages sent"),
+ 1, GNUNET_NO);
return sizeof (struct MigrationStopMessage);
}
}
}
GNUNET_free (pmc);
- /* FIXME: should we really update the load value on failure? */
+ /* on failure, increase the put load dramatically */
if (NULL != datastore_put_load)
- GNUNET_LOAD_update (datastore_put_load, delay.rel_value);
+ GNUNET_LOAD_update (datastore_put_load,
+ GNUNET_TIME_UNIT_HOURS.rel_value);
if (GNUNET_OK == success)
return;
GNUNET_STATISTICS_update (GSF_stats,