def _set_process_name(func, process_name):
    """_set_process_name
    If process_name is not set on configuration file,
    func.__name__ is used as the process_name

    :param func:
    :param process_name:
    """
    if len(process_name) == 0:
        process_name = func.__name__
    return process_name