summaryrefslogtreecommitdiff
path: root/lib/presque/worker/Role/Fork.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/presque/worker/Role/Fork.pm')
-rw-r--r--lib/presque/worker/Role/Fork.pm12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/presque/worker/Role/Fork.pm b/lib/presque/worker/Role/Fork.pm
new file mode 100644
index 0000000..47efc31
--- /dev/null
+++ b/lib/presque/worker/Role/Fork.pm
@@ -0,0 +1,12 @@
+package presque::worker::Role::Fork;
+
+use Moose::Role;
+
+has fork_dispatcher => (
+ is => 'ro',
+ isa => 'Bool',
+ default => 1,
+ predicate => 'has_fork_dispatcher'
+);
+
+1;