def setUploadDuration(infoHash, seconds)
      raise "upload ratio must be Numeric, not a #{seconds.class}" if seconds && ! seconds.is_a?(Numeric)
      @handler.setUploadDuration(infoHash, seconds)
    end
def setUploadDuration(infoHash, seconds)
      raise "upload ratio must be Numeric, not a #{seconds.class}" if seconds && ! seconds.is_a?(Numeric)
      @handler.setUploadDuration(infoHash, seconds)
    end
Set the maximum amount of time (in seconds) that a torrent can be in the upload-only state before
 it is paused. Pass nil to disable.