Skip to content

Commit 54560d9

Browse files
committed
Commit bulk insert.
1 parent 1c8651d commit 54560d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/MetaCPAN/Script/Permissions.pm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ sub index_permissions {
4040
$bulk->put( $type->new_document($put) );
4141
}
4242

43+
$bulk->commit;
44+
4345
$self->index->refresh;
4446
log_info {'done'};
4547
}

0 commit comments

Comments
 (0)