Skip Menu |

This queue is for tickets about the Beanstalk-Client CPAN distribution.

Report information
The Basics
Id: 86246
Status: rejected
Priority: 0/
Queue: Beanstalk-Client

People
Owner: Nobody in particular
Requestors: sbattu [...] juniper.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: ttr and priority values are not changed when set through client
Date: Tue, 18 Jun 2013 21:51:51 +0000
To: "bug-Beanstalk-Client [...] rt.cpan.org" <bug-Beanstalk-Client [...] rt.cpan.org>
From: Sivaram Battu <sbattu [...] juniper.net>
Hello, I am trying to change the default value of the ttr for a job and I am specifying that as part of the call put(), but when I look at that job it looks like the 'ttr' value didn't change. my $job = $client->put({ttr => 40},{data => "test"}); When I print the job using Dumper, I still see that the 'ttr' value is 120(default) but not 40. 9$VAR1 = bless( { 'client' => bless( { 'priority' => 10000, '_recv_buffer' => '', 'delay' => 0, 'ttr' => 120, 'default_tube' => 'testq', 'socket' => bless( \*Symbol::GEN0, 'IO::Socket::INET' ), 'decoder' => sub { "DUMMY" }, '_watching' => { 'testq' => 1 }, 'encoder' => sub { "DUMMY" }, '_using' => 'testq', 'server' => 'ttsv-cbrdb-01.juniper.net' }, 'Beanstalk::Client' ), 'id' => '62720', 'data' => '--- data: test ', 'reserved' => 1 }, 'Beanstalk::Job' );
Subject: Re: [rt.cpan.org #86246] ttr and priority values are not changed when set through client
Date: Tue, 18 Jun 2013 23:15:02 +0000
To: "<bug-Beanstalk-Client [...] rt.cpan.org>" <bug-Beanstalk-Client [...] rt.cpan.org>
From: Sivaram Battu <sbattu [...] juniper.net>
My bad, looks like I might have misguided by the output from Dumper, it is always showing the default values in there, but when I tried to print the ttr & priority values on the job, it worked fine, it can be closed. On Jun 18, 2013, at 2:52 PM, Bugs in Beanstalk-Client via RT wrote: Show quoted text
> > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "ttr and priority values are not changed when set through client", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #86246]. Your ticket is accessible > on the web at: > > https://rt.cpan.org/Ticket/Display.html?id=86246 > > Please include the string: > > [rt.cpan.org #86246] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > bug-Beanstalk-Client@rt.cpan.org > > ------------------------------------------------------------------------- > Hello, > > I am trying to change the default value of the ttr for a job and I am specifying that as part of the call put(), but when I look at that job it looks like the 'ttr' value didn't change. > > my $job = $client->put({ttr => 40},{data => "test"}); > > > When I print the job using Dumper, I still see that the 'ttr' value is 120(default) but not 40. > > 9$VAR1 = bless( { > 'client' => bless( { > 'priority' => 10000, > '_recv_buffer' => '', > 'delay' => 0, > 'ttr' => 120, > 'default_tube' => 'testq', > 'socket' => bless( \*Symbol::GEN0, 'IO::Socket::INET' ), > 'decoder' => sub { "DUMMY" }, > '_watching' => { > 'testq' => 1 > }, > 'encoder' => sub { "DUMMY" }, > '_using' => 'testq', > 'server' => 'ttsv-cbrdb-01.juniper.net' > }, 'Beanstalk::Client' ), > 'id' => '62720', > 'data' => '--- > data: test > ', > 'reserved' => 1 > }, 'Beanstalk::Job' ); > > > > > > > >