save_and_open_page
have_button(locator)
#!/usr/bin/env python | |
# mypy: allow-untyped-defs | |
""" | |
This script is used for applying affinity settings for various hardware devices. | |
Script originally based on Intel's [set_irq_affinity.sh](https://gist.github.com/SaveTheRbtz/8875474). | |
Over the years it was updated with heuristics based on the shape of Dropbox infrastructure. | |
Currently, this script can manage IRQ affinities, RPS, XPS, and RXQS. For the description of |
# 2. Include Sweeping module in your controller(s) to have cache_sweeper | |
# method to be avaliable, or right in ApplicationController so it will be | |
# available in all controllers inheriting from it. | |
class ApplicationController < ActionController::Base | |
include ActionController::Caching::Sweeping | |
# ... | |
end |