From 60bcf74ecc5a5c7d0740d7054e829eef19828091 Mon Sep 17 00:00:00 2001 From: Remington Steed Date: Wed, 31 Jan 2018 16:05:52 -0500 Subject: [PATCH] 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 --- src/perl/lib/OpenSRF/Application/Slooooooow.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/perl/lib/OpenSRF/Application/Slooooooow.pm b/src/perl/lib/OpenSRF/Application/Slooooooow.pm index bf218ce5..7942f1eb 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 => { -- 2.43.2