Hello community, here is the log from the commit of package perl-Minion for openSUSE:Factory checked in at 2017-12-21 11:29:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Minion (Old) and /work/SRC/openSUSE:Factory/.perl-Minion.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Minion" Thu Dec 21 11:29:24 2017 rev:36 rq:558767 version:8.08 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Minion/perl-Minion.changes 2017-11-27 22:15:56.836000575 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Minion.new/perl-Minion.changes 2017-12-21 11:29:28.943143281 +0100 @@ -1,0 +2,17 @@ +Mon Dec 18 06:35:37 UTC 2017 - [email protected] + +- updated to 8.08 + see /usr/share/doc/packages/perl-Minion/Changes + + 8.08 2017-12-15 + - Added busy and wait events to Minion::Worker. + - Added dequeue_timeout option to run method in Minion::Worker. + - Added -D option to worker command. + +------------------------------------------------------------------- +Tue Dec 12 06:34:05 UTC 2017 - [email protected] + +- updated to 8.07 + see /usr/share/doc/packages/perl-Minion/Changes + +------------------------------------------------------------------- Old: ---- Minion-8.03.tar.gz New: ---- Minion-8.08.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Minion.spec ++++++ --- /var/tmp/diff_new_pack.23mWR2/_old 2017-12-21 11:29:29.775102715 +0100 +++ /var/tmp/diff_new_pack.23mWR2/_new 2017-12-21 11:29:29.779102520 +0100 @@ -17,7 +17,7 @@ Name: perl-Minion -Version: 8.03 +Version: 8.08 Release: 0 %define cpan_name Minion Summary: Job queue @@ -44,69 +44,10 @@ http://www.postgresql.org). Job queues allow you to process time and/or computationally intensive tasks -in background processes, outside of the request/response lifecycle. Among -those tasks you'll commonly find image resizing, spam filtering, HTTP -downloads, building tarballs, warming caches and basically everything else -you can imagine that's not super fast. - - use Mojolicious::Lite; - - plugin Minion => {Pg => 'postgresql://sri:s3cret@localhost/test'}; - - # Slow task - app->minion->add_task(poke_mojo => sub { - my $job = shift; - $job->app->ua->get('mojolicious.org'); - $job->app->log->debug('We have poked mojolicious.org for a visitor'); - }); - - # Perform job in a background worker process - get '/' => sub { - my $c = shift; - $c->minion->enqueue('poke_mojo'); - $c->render(text => 'We will poke mojolicious.org for you soon.'); - }; - - app->start; - -Background worker processes are usually started with the command -Minion::Command::minion::worker, which becomes automatically available when -an application loads the plugin Mojolicious::Plugin::Minion. - - $ ./myapp.pl minion worker - -Jobs can be managed right from the command line with -Minion::Command::minion::job. - - $ ./myapp.pl minion job - -You can also add an admin ui to your application by loading the plugin -Mojolicious::Plugin::Minion::Admin. Just make sure to secure access before -making your application publically accessible. - - # Make admin ui available under "/minion" - plugin 'Minion::Admin'; - -To manage background worker processes with systemd, you can use a unit -configuration file like this. - - [Unit] - Description=My Mojolicious application workers - After=postgresql.service - - [Service] - Type=simple - ExecStart=/home/sri/myapp/myapp.pl minion worker -m production - KillMode=process - - [Install] - WantedBy=multi-user.target - -Every job can fail or succeed, but not get lost, the system is eventually -consistent and will preserve job results for as long as you like, depending -on "remove_after". While individual workers can fail in the middle of -processing a job, the system will detect this and ensure that no job is -left in an uncertain state, depending on "missing_after". +in background processes, outside of the request/response lifecycle of web +applications. Among those tasks you'll commonly find image resizing, spam +filtering, HTTP downloads, building tarballs, warming caches and basically +everything else you can imagine that's not super fast. %prep %setup -q -n %{cpan_name}-%{version} ++++++ Minion-8.03.tar.gz -> Minion-8.08.tar.gz ++++++ ++++ 4071 lines of diff (skipped)
