blob: b62c24bcc89f9140a0b701e3cca6d8f218413b4d [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 onInitialize(processor):
processor.setSingleThreaded()
def onTrigger(context, session):
log.info("Sleeping forever")
while True:
time.sleep(1)