def get_loadtest_factor(domain, user):
    if domain and ENABLE_LOADTEST_USERS.enabled(domain):
        return getattr(user, 'loadtest_factor', 1) or 1
    return 1
Gets the loadtest factor for a domain and user. Is always 1 unless
dataset/ETHPy150Open dimagi/commcare-hq/corehq/ex-submodules/casexml/apps/phone/data_providers/case/load_testing.py/get_loadtest_factor