increase recursion limit to 2000
This commit is contained in:
@@ -132,6 +132,10 @@ def main():
|
|||||||
if args.debug:
|
if args.debug:
|
||||||
Milter.setdbg(1)
|
Milter.setdbg(1)
|
||||||
|
|
||||||
|
# increase the recursion limit so that BeautifulSoup can
|
||||||
|
# parse larger html content
|
||||||
|
sys.setrecursionlimit(2000)
|
||||||
|
|
||||||
rc = 0
|
rc = 0
|
||||||
try:
|
try:
|
||||||
Milter.runmilter("pyquarantine", socketname=socket, timeout=600)
|
Milter.runmilter("pyquarantine", socketname=socket, timeout=600)
|
||||||
|
|||||||
Reference in New Issue
Block a user