-
-
Save anonymous/e61b2d17ec869d39f963c59aa99da94f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Mojolicious::Lite; | |
plugin Minion => {Pg => "postgres://tester:testing\@/test"}; | |
plugin 'Minion::Admin'; | |
app->minion->add_task(foo => sub { sleep 30 }); | |
app->minion->enqueue('foo') for 1 .. 10; | |
app->start; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment