The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Test::Smoke::App::HadleQueue - Queue handler for reports that failed to POST to CoreSmokeDB

SYNOPSIS

    use Test::Smoke::App::Options;
    use Test::Smoke::App::HandleQueue;

    my $app = Test::Smoke::App::HandleQueue->new(
        Test::Smoke::App::Options->handlequeue_config
    );
    $app->run();

DESCRIPTION

This applet reads the current queue and tries to send every report in it. On success the item is removed, on failure it stiks around. After all items in the queue have been looked at, the ones that do not exist in the archive directory will also be removed from the queue.

Test::Smoke::App::HandleQueue->new(%arguments)

Create an instance of the app.

Arguments

Named, list:

qfile

The file where the queue is kept.

adir

The directory where the archive is.

smokedb_url

Where to send the reports.

poster

The type of HTTP client to use for sending the report to smokedb_url

poster-options

Each of the HTTP clients has its own set of options, See Test::Smoke::Poster::Curl, Test::Smoke::Poster::HTTP_Tiny and Test::Smoke::Poster::LWP_UserAgent.

$handle_queue->run()

Try to send all items in the queue and remove items that are no longer in the archive.

COPYRIGHT

(c) 2002-2013, Abe Timmerman <abeltje@cpan.org> All rights reserved.

With contributions from Jarkko Hietaniemi, Merijn Brand, Campo Weijerman, Alan Burlison, Allen Smith, Alain Barbet, Dominic Dunlop, Rich Rauenzahn, David Cantrell.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See:

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.