From: Eric Wong Date: Tue, 29 Jan 2019 03:42:48 +0000 (+0000) Subject: t/check-www-inbox: disable history X-Git-Tag: v1.2.0~397^2~7 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=a6f2d5b61e37a49d8278b250d172b497a88c2b45 t/check-www-inbox: disable history WWW::Mechanize keeps an infinitely large stack, which was leading to OOM errors on my system. --- diff --git a/t/check-www-inbox.perl b/t/check-www-inbox.perl index 0a6d61bb..db292c50 100644 --- a/t/check-www-inbox.perl +++ b/t/check-www-inbox.perl @@ -151,6 +151,7 @@ sub worker_loop { $SIG{CHLD} = 'DEFAULT'; my $m = WWW::Mechanize->new(autocheck => 0); my $cc = LWP::ConnCache->new; + $m->stack_depth(0); # no history $m->conn_cache($cc); while (1) { $todo_rd->recv(my $u, 65535, 0);