Guest User

Untitled

a guest
Jun 18th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. #!/usr/bin/perl
  2.  
  3. use strict;
  4. use warnings;
  5. use Qudo;
  6.  
  7. my $qudo = Qudo->new(
  8. driver_class => 'Skinny',
  9. databases => [+{
  10. dsn => 'dbi:mysql:qudo',
  11. username => 'root',
  12. password => '',
  13. }],
  14. );
  15.  
  16. $qudo->enqueue("MyApp::Worker::Normal", { arg => 'normal arg' });
  17. $qudo->enqueue("MyApp::Worker::Delay", { arg => 'delay arg' });
Add Comment
Please, Sign In to add comment