From 109e5807c2f18684b147db5f13db4a4f6c652d95 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 22 Nov 2011 16:44:32 +0100 Subject: [PATCH] Use CatalystX::Script::Server::Starman This allows us to pass --max_server and similar options to raise the number of workers from the default (5). --- deps.nix | 1 + src/lib/Hydra/Script/Server.pm | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 src/lib/Hydra/Script/Server.pm diff --git a/deps.nix b/deps.nix index 01b4c102..3926b126 100644 --- a/deps.nix +++ b/deps.nix @@ -11,6 +11,7 @@ with pkgs; perlPackages.CatalystViewTT perlPackages.CatalystViewDownload perlPackages.CatalystViewJSON + perlPackages.CatalystXScriptServerStarman perlPackages.XMLSimple perlPackages.IPCRun perlPackages.IOCompress diff --git a/src/lib/Hydra/Script/Server.pm b/src/lib/Hydra/Script/Server.pm new file mode 100644 index 00000000..4054fb9a --- /dev/null +++ b/src/lib/Hydra/Script/Server.pm @@ -0,0 +1,7 @@ +package Hydra::Script::Server; +use Moose; +use namespace::autoclean; + +extends 'CatalystX::Script::Server::Starman'; + +1;