Skip to content

Instantly share code, notes, and snippets.

/list.diff Secret

Created June 10, 2016 13:21
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 anonymous/1d841d01dd37fbff75b765effafc7cb9 to your computer and use it in GitHub Desktop.
Save anonymous/1d841d01dd37fbff75b765effafc7cb9 to your computer and use it in GitHub Desktop.
diff --git a/examples/minion_bench.pl b/examples/minion_bench.pl
index ca4ed56..1627933 100644
--- a/examples/minion_bench.pl
+++ b/examples/minion_bench.pl
@@ -25,6 +25,8 @@ my $elapsed = time - $before;
my $avg = sprintf '%.3f', $ENQUEUE / $elapsed;
say "Enqueued $ENQUEUE jobs in $elapsed seconds ($avg/s)";
+say Mojo::Util::dumper $minion->backend->list_jobs(0, 10);
+
# Dequeue
sub dequeue {
my @pids;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment