X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Fcall.texi;h=447b764615af969e24ec8917fbbc50b8f5f00c28;hb=0139e8deda4112d2c3dcd52e0ad72162e54caa03;hp=31d8f82ab6aab13cc815904e989f97813a5d0096;hpb=13ceb8e59777cfae373a1a6a9dfc0e7c5e58a357;p=nncp.git diff --git a/doc/call.texi b/doc/call.texi index 31d8f82..447b764 100644 --- a/doc/call.texi +++ b/doc/call.texi @@ -6,20 +6,26 @@ Call is a rule when and how node can be called. Example list of call structures: @verbatim -calls: - - - cron: "*/1 * * * MON-FRI" - onlinedeadline: 3600 - nice: 64 - - - cron: "30 * * * SAT,SUN" - onlinedeadline: 1800 - maxonlinetime: 1750 - nice: 64 - - - cron: "0 * * * SAT,SUN" - xx: rx - addr: lan +calls: [ + { + cron: "*/1 * * * MON-FRI" + onlinedeadline: 3600 + nice: PRIORITY+10 + }, + { + cron: "30 * * * SAT,SUN" + onlinedeadline: 1800 + maxonlinetime: 1750 + nice: NORMAL + rxrate: 10 + txrate: 20 + }, + { + cron: "0 * * * SAT,SUN" + xx: rx + addr: lan + }, +] @end verbatim tells that on work days of the week call that node every minute, @@ -167,6 +173,10 @@ Optional. Call only that address, instead of trying all from @ref{CfgAddrs, @emph{addrs}} configuration option. It can be either key from @emph{addrs} dictionary, or an ordinary @option{addr:port}. +@item rxrate/txrate +Optional. Override @ref{CfgXxRate, @emph{rxrate/txrate}} configuration +option when calling. + @item onlinedeadline Optional. Override @ref{CfgOnlineDeadline, @emph{onlinedeadline}} configuration option when calling.