on second thought, removing debug sleep method, which is (more than most) a DOS waiti...
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 13 Dec 2010 14:57:44 +0000 (14:57 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 13 Dec 2010 14:57:44 +0000 (14:57 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2126 9efc2488-bf62-4759-914b-345cdb29e865

src/perl/lib/OpenSRF/Application.pm

index 29787e2..8ccf568 100644 (file)
@@ -743,25 +743,4 @@ sub make_stream_atomic {
        return \@results;
 }
 
-
-__PACKAGE__->register_method(
-       method => 'sleep_method',
-       argc => 1,
-       api_name => 'opensrf.system.sleep',
-       signature => {
-               desc => q/Causes the backend process to sleep for the specified amount of time/,
-        params => [ {desc => q/Number of seconds to sleep;  defaults to 1/, type => 'number'} ],
-               return => { desc => q/The number of seconds slept/, type => 'number' }
-       }
-);
-
-sub sleep_method {
-       my($self, $client, $secs) = @_;
-    $secs ||= 1;
-    CORE::sleep($secs);
-    return $secs;
-}
-
 1;
-
-