[Bioperl-l] Bio::WebAgent sleep warning

Hilmar Lapp hlapp at gmx.net
Mon Oct 16 13:08:28 EDT 2006


It depends. What triggers the sleeping? If it's part of every request  
that it processes then I'd agree. If it is triggered by failure to  
precede the next try then the failure is probably not expected  
(though possible), and hence should be reported by warn().

If it is just part of the polling cycle then there should probably be  
a limit up to which the time waited is considered 'normal' and after  
which it is considered 'excessive' and hence should be reported  
through warn().

My $0.02.

	-hilmar

On Oct 16, 2006, at 9:23 AM, Sendu Bala wrote:

> Hi,
>
> Does anyone think it's appropriate for Bio::WebAgent to issue warnings
> every time it sleeps? I'd consider the sleeping part of its normal,
> expected and desired behaviour so I don't need to be warned about it.
> Perhaps change the $self->warn to a $self->debug?
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
>

-- 
===========================================================
: Hilmar Lapp  -:-  Durham, NC  -:-  hlapp at gmx dot net :
===========================================================







More information about the Bioperl-l mailing list