Skip to content

Instantly share code, notes, and snippets.

@gnucifer
Last active January 5, 2018 12:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gnucifer/1e33f9aa7155b1b771baaa357dfc7141 to your computer and use it in GitHub Desktop.
Save gnucifer/1e33f9aa7155b1b771baaa357dfc7141 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
use C4::Context;
use Koha::BiblioUtils;
my $records = Koha::BiblioUtils->get_all_biblios_iterator({ batched => 1 });
$limit = 10000;
while ($limit--) {
$records->next();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment