From: Remington Steed Date: Wed, 31 Jan 2018 21:05:52 +0000 (-0500) Subject: Fix incorrect param description X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fcollab%2Fmiker%2Frequest_queuing-squashed-2018-01-16;p=working%2FOpenSRF.git Fix incorrect param description Mike confirmed that the code expects "pause" to be an integer. This commit changes the description to reflect that, and to mention the default value. Signed-off-by: Remington Steed --- diff --git a/src/perl/lib/OpenSRF/Application/Slooooooow.pm b/src/perl/lib/OpenSRF/Application/Slooooooow.pm index bf218ce..7942f1e 100644 --- a/src/perl/lib/OpenSRF/Application/Slooooooow.pm +++ b/src/perl/lib/OpenSRF/Application/Slooooooow.pm @@ -34,7 +34,7 @@ __PACKAGE__->register_method( argc => 1, signature => { params => [ - {name => "pause", type => "number", desc => "Seconds to sleep, can be fractional"}, + {name => "pause", type => "int", desc => "Seconds to sleep (integer, default is 1)"}, {name => "extra", type => "string", desc => "Extra optional parameter used to inflate the payload size"} ], return => {