Setup Internal Tasks
Internal Tasks are consensus-based modules for ongoing maintenance of the AVS network.
This guide will walk you through configuring and running the following Internal Tasks:
Prerequisites
1
2
Configure Internal Task Frequency
Set the INTERNAL_TASKS
environment variable with a JSON array that defines the execution interval for each internal task.
Example Configuration:
INTERNAL_TASKS='[
{ "name": "VOTING_POWER_SYNC", "interval": 3600000 },
{ "name": "VOTING_POWER_PER_TASK_DEFINITION_SYNC", "interval": 3900000 },
{ "name": "WEIGHTS_UPDATE", "interval": 86400000 }
]'
Default interval:
3600000
ms (1 hour)Minimum allowed interval:
60000
ms (1 minute)
Last updated