def determine_max_workers_default():
    max_workers = 1
    try:
        # use the same default as multiprocessing.Pool
        max_workers = multiprocessing.cpu_count()
        _LOGGER.debug(
            "max_workers unspecified, defaulted to cpu_count: {}".format(
                max_workers))
    except __HOLE__:
        _LOGGER.warning(
            "multiprocessing.cpu_count() not supported, disabling "
            "multiprocessing. Specify max workers explicitly to enable.")
    return max_workers
dataset/ETHPy150Open bloomberg/phabricator-tools/py/abd/abdi_processrepoarglist.py/determine_max_workers_default