From a7dce3ace42a383d391383745e2e88e724a08e2f Mon Sep 17 00:00:00 2001 From: Eric Allman Date: Sun, 28 May 1995 00:50:52 -0800 Subject: [PATCH] add confMAX_QUEUE_RUN_SIZE SCCS-vsn: usr.sbin/sendmail/cf/m4/proto.m4 8.76 SCCS-vsn: usr.sbin/sendmail/cf/README 8.62 --- usr/src/usr.sbin/sendmail/cf/README | 11 ++++++++++- usr/src/usr.sbin/sendmail/cf/m4/proto.m4 | 3 +++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/usr/src/usr.sbin/sendmail/cf/README b/usr/src/usr.sbin/sendmail/cf/README index 578d1bef89..0c309c9678 100644 --- a/usr/src/usr.sbin/sendmail/cf/README +++ b/usr/src/usr.sbin/sendmail/cf/README @@ -4,7 +4,7 @@ Eric Allman - @(#)README 8.61 (Berkeley) %G% + @(#)README 8.62 (Berkeley) %G% This document describes the sendmail configuration files being used @@ -1375,6 +1375,15 @@ confCOLON_OK_IN_ADDR ColonOkInAddr If set, colons are treated as a regular handled properly in route-addrs. This option defaults on for V5 and lower configuration files. +confMAX_QUEUE_RUN_SIZE MaxQueueRunSize If set, limit the maximum size of any + given queue run to this number of + entries. Essentially, this will stop + reading the queue directory after this + number of entries are reached; it does + _not_ pick the highest priority jobs, + so this should be as large as your + system can tolerate. If not set, there + is no limit. +-----------+ diff --git a/usr/src/usr.sbin/sendmail/cf/m4/proto.m4 b/usr/src/usr.sbin/sendmail/cf/m4/proto.m4 index 554150013e..eec41a5ca3 100644 --- a/usr/src/usr.sbin/sendmail/cf/m4/proto.m4 +++ b/usr/src/usr.sbin/sendmail/cf/m4/proto.m4 @@ -364,6 +364,9 @@ _OPTION(SafeFileEnvironment, `confSAFE_FILE_ENV', /arch) # are colons OK in addresses? _OPTION(ColonOkInAddr, `confCOLON_OK_IN_ADDR') +# how many jobs can you process in the queue? +_OPTION(MaxQueueRunSize, `confMAX_QUEUE_RUN_SIZE', 10000) + ########################### # Message precedences # ########################### -- 2.20.1