Permalink
Browse files

oops.

  • Loading branch information...
nekokak committed Jan 26, 2011
1 parent 81d22bf commit 5d312d37d40554f2b6edadd891a812f25a10e719
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Jonk/Cookbook/RetryJob.pod
@@ -13,7 +13,7 @@ Jonk::Cookbook::RetryJob - retry job with wait few minitus
my $dbh = DBI->connect('dbi:mysql:test','user','pass');
my $jonk = Jonk->new($dbh);
- my $job_id = $jonk->enqueue('worker_key','job_data_here');
+ my $job_id = $jonk->insert('worker_key','job_data_here');
while (1) {
my $job = $jonk->find_job;

0 comments on commit 5d312d3

Please sign in to comment.