Skip to content

Commit

Permalink
Add helpful comment about lookup tries
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaavi committed May 8, 2024
1 parent a352660 commit b07e09c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/network/state/lookup.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var (

const (
lookupTries = 5
fastLookupTries = 2
fastLookupTries = 2 // 1. current table, 2. get table with max 10ms, could be 0ms, 3. 10ms wait
)

// Lookup looks for the given connection in the system state tables and returns the PID of the associated process and whether the connection is inbound.
Expand Down

0 comments on commit b07e09c

Please sign in to comment.