def METHOD_NAME(period_in_s: int) -> None:
    """Observe config for changes and send notification when changed."""
    queue = MessageQueue()
    config_modification_time = None
    if workload_manager is not None:
        config_modification_time = os.stat(workload_manager.config_path).st_mtime
    while True:
        time.sleep(period_in_s)
        if workload_manager is None:
            continue
        config_path = workload_manager.config_path
        config_mod_time_new = os.stat(config_path).st_mtime
        if config_modification_time != config_mod_time_new:
            config_modification_time = config_mod_time_new
            queue.post_info("Config update", "Workload config has been modified.")