Ejemplo n.º 1
0
def monitoring_bootstrap(context):
    yield taskmanager.Task(
        worker_name='aggregate_data_worker',
        id='aggregate_data',
        redo_interval=30 * 60,  # Repeat each 30m,
        options={},
    )
    yield taskmanager.Task(
        worker_name='history_tables_worker',
        id='history_tables',
        redo_interval=3 * 60 * 60,  # Repeat each 3h
        options={},
    )
    yield taskmanager.Task(
        worker_name='purge_data_worker',
        id='purge_data',
        redo_interval=24 * 60 * 60,  # Repeat each 24h
        options={},
    )
    yield taskmanager.Task(
        worker_name='schedule_collector',
        id='schedule_collector',
        redo_interval=60,  # Repeat each 60s
        options={},
    )
Ejemplo n.º 2
0
def monitoring_bootstrap(context):
    yield taskmanager.Task(
        worker_name='aggregate_data_worker',
        id='aggregate_data',
        redo_interval=30 * 60  # Repeat each 30m,
    )
    yield taskmanager.Task(
        worker_name='history_tables_worker',
        id='history_tables',
        redo_interval=3 * 60 * 60  # Repeat each 3h
    )
Ejemplo n.º 3
0
def statements_bootstrap(context):
    yield taskmanager.Task(
        worker_name='pull_data_worker',
        id='statementsdata',
        redo_interval=1 * 60,  # Repeat each 1m,
        options={},
    )
    yield taskmanager.Task(
        worker_name='purge_data_worker',
        id='purge_data',
        redo_interval=24 * 60 * 60,  # Repeat each 24h,
        options={},
    )