Skip to content

Commit

Permalink
document "work" subsection
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Feb 14, 2018
1 parent effd4cd commit 5e5a168
Showing 1 changed file with 92 additions and 1 deletion.
93 changes: 92 additions & 1 deletion raddb/sites-available/detail
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ virtual_server detail {
# priority = 1

#
# Read from a "file".
# Check for the existence of detail files.
#
# You MUST also configure a "work" subsection below.
#
file {
#
Expand Down Expand Up @@ -114,6 +116,95 @@ virtual_server detail {
# Allowed values: 1 to 3600
poll_interval = 5
}

#
# Configuration related to processing the
# "detail.work" file.
#
# This MUST also be specified, along with the "file"
# subsection above.
#
work {
#
# Track progress through the detail file. When the detail
# file is large, and the server is re-started, it will
# read from the START of the file.
#
# Setting "track = yes" means it will skip packets which
# have already been processed. The default is "no".
#
track = yes

#
# The maximum size (in bytes) of one entry in
# the detail file. If this setting is too
# low, then the "too large" entries in the
# detail file will be ignored.
#
max_entry_size = 65536

#
# Whether or not the detail.work file reader
# retransmits packets which have failed.
#
# default = yes
#
retransmit = yes

#
# Limits for the files, retransmissions, etc.
#
limit {
#
# Number of simultaneous packets it
# will read from the file and feed
# into the server core.
#
# Useful values: 1..256
maximum_outstanding = 1

#
# Initial retransmit time: 1..60
#
# If there is no response within this time,
# the module will retransmit the packet.
#
initial_retransmission_time = 1

#
# Maximum Retransmit Time: 5..30
#
# The maximum time between retransmissions.
#
maximum_retransmission_time = 30

#
# The following are maximums that *all* apply.
# i.e. if any one of the limits is hit, the
# retransmission stops.
#

#
# Maximum Retransmit Count: 0..20
#
# How many times the module will send the packet
# before giving up.
#
# A special value of "0" means "retransmit forever".
#
maximum_retransmission_count = 6

#
# Maximum Retransmit Duration: 0..600
#
# The total length of time the module will try to
# retransit the packet
#
# A special value of "0" means "retransmit forever".
#
maximum_retransmission_duration = 40
}
}
}

#
Expand Down

0 comments on commit 5e5a168

Please sign in to comment.