summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2012-04-01 14:52:32 +0200
committerDaniel Friesel <derf@finalrewind.org>2012-04-01 14:52:32 +0200
commit25dc372954813ece8115b10d37841edf501fc8f2 (patch)
tree8051f2060940abaf9e51ed20e68dcb1769b36d12 /cgi
parent8821473d1239501778186c67a144989da3c8c211 (diff)
add hypnotoad config
Diffstat (limited to 'cgi')
-rw-r--r--cgi/index.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/cgi/index.pl b/cgi/index.pl
index bb52308..96c93d7 100644
--- a/cgi/index.pl
+++ b/cgi/index.pl
@@ -93,6 +93,14 @@ get '/:station' => \&handle_request;
get '/:station/:via' => \&handle_request;
get '/multi/:station' => \&handle_request;
+app->config(
+ hypnotoad => {
+ accepts => 10,
+ listen => ['http://*:8092'],
+ pid_file => '/tmp/db-fake.pid',
+ },
+);
+
app->start();
__DATA__