From f1f3902e862ec07642556a2ee10aea30e78888ca Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 1 Apr 2012 14:36:32 +0200 Subject: add hypnotoad configuration --- cgi/index.pl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cgi/index.pl') diff --git a/cgi/index.pl b/cgi/index.pl index 6bf4586..9e131fb 100644 --- a/cgi/index.pl +++ b/cgi/index.pl @@ -299,6 +299,14 @@ get '/' => \&handle_request; get '/:city/:stop.png' => \&render_image; get '/:city/:stop' => \&handle_request; +app->config( + hypnotoad => { + accepts => 10, + listen => ['http://*:8091'], + pid_file => '/tmp/vrr-fake.pid', + }, +); + app->start(); __DATA__ -- cgit v1.2.3