summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Crawl/Bot.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Crawl/Bot.pm b/lib/Crawl/Bot.pm
index 3f5ecd1..0ddf57e 100644
--- a/lib/Crawl/Bot.pm
+++ b/lib/Crawl/Bot.pm
@@ -39,6 +39,12 @@ has plugins => (
default => sub { [__PACKAGE__->create_plugins(bot => shift)] },
);
+has max_length => (
+ is => 'ro',
+ isa => 'Int',
+ default => 410
+);
+
sub BUILD {
my $self = shift;
File::Path::mkpath($self->data_dir);