blob: 4af9140b2c22f1dac6ea03ce01dc663d3fd895c6 [file]
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for additional information regarding copyright ownership
# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements
import time
def describe(processor):
processor.setDescription("Sleep forever processor.")
def onTrigger(context, session):
log.info("Sleeping forever")
while True:
time.sleep(1)