Class: HotCell::Fixtures::Rlimits
- Defined in:
- lib/hot_cell/test_operations.rb
Direct Known Subclasses
Constant Summary
Constants inherited from Operation
Instance Method Summary collapse
Methods inherited from Operation
abstract_operation, abstract_operation?, before_fork, before_worker_boot, inherited, limits, operation, operation_name, #run_tool, unreadable
Instance Method Details
#perform(_inputs, _outputs) ⇒ Object
343 344 345 346 |
# File 'lib/hot_cell/test_operations.rb', line 343 def perform(_inputs, _outputs) { memory: Process.getrlimit(Process::RLIMIT_DATA), file_size: Process.getrlimit(Process::RLIMIT_FSIZE), open_files: Process.getrlimit(Process::RLIMIT_NOFILE), core: Process.getrlimit(Process::RLIMIT_CORE) } end |