Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_set_max_workers():
"""Just call this function for coverage."""
_set_max_workers(9)
def set_max_workers(max_workers):
"""Limits the number of worker threads used by cachier."""
_set_max_workers(max_workers)