From: Remington Steed Date: Wed, 31 Jan 2018 21:05:52 +0000 (-0500) Subject: LP#1729610: Fix incorrect param description X-Git-Tag: osrf_rel_3_1_0-beta~6 X-Git-Url: http://git.equinoxoli.org/?p=opensrf-equinox.git;a=commitdiff_plain;h=60bcf74ecc5a5c7d0740d7054e829eef19828091 LP#1729610: 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 Signed-off-by: Galen Charlton Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander --- 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 => {