Commit 906b9939 authored by David Vorick's avatar David Vorick Committed by GitHub

Merge pull request #2166 from S-anasol/patch-3

incorrect comment numbers
parents 5234afd5 9af201da
......@@ -96,9 +96,9 @@ func (hdb *HostDB) collateralAdjustments(entry modules.HostDBEntry) float64 {
// historic and currnet interactions with that host. This function focuses on
// historic interactions and ignores recent interactions.
func (hdb *HostDB) interactionAdjustments(entry modules.HostDBEntry) float64 {
// Give the host a baseline of 30 successful interactions and two failed
// interactions. This gives the host a baseline if we've had few
// interactions with them. The two failed interactions will become
// Give the host a baseline of 30 successful interactions and 1 failed
// interaction. This gives the host a baseline if we've had few
// interactions with them. The 1 failed interaction will become
// irrelevant after sufficient interactions with the host.
hsi := entry.HistoricSuccessfulInteractions + 30
hfi := entry.HistoricFailedInteractions + 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment