Sha256: ccd73cfafd799f1857f0ba70419f556b4975db5a3221d6b4d82b9034b7fabbbd
Contents?: true
Size: 372 Bytes
Versions: 32
Compression:
Stored size: 372 Bytes
Contents
# frozen_string_literal: true require_relative '../../puppet/util' module Puppet::Util::Limits # @api private def setpriority(priority) return unless priority Process.setpriority(0, Process.pid, priority) rescue Errno::EACCES, NotImplementedError Puppet.warning(_("Failed to set process priority to '%{priority}'") % { priority: priority }) end end
Version data entries
32 entries across 32 versions & 1 rubygems