Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
reduce bulk size to reduce timeouts
  • Loading branch information
monken committed Mar 20, 2014
1 parent a4b0090 commit 67b190e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MetaCPAN/Script/Author.pm
Expand Up @@ -54,7 +54,7 @@ sub index_authors {
} map { $_->{_source} } @{ $dates->{hits}->{hits} }
};

my $bulk = $self->model->bulk( size => 100 );
my $bulk = $self->model->bulk( size => 20 );

while ( my ( $pauseid, $data ) = each %$authors ) {
my ( $name, $email, $homepage, $asciiname )
Expand Down

0 comments on commit 67b190e

Please sign in to comment.