pub async fn set_relayer_last_sync(
pool: &Arc<Pool>,
prefix: &str,
relayer_id: &str,
) -> Result<()>Expand description
Sets the last sync timestamp for a relayer to the current time.
This should be called after a relayer has been successfully initialized to record when the initialization occurred.
§Arguments
conn- Redis connection managerprefix- Key prefix for multi-tenant supportrelayer_id- The relayer’s unique identifier
§Redis Key Format
Hash key: {prefix}:relayer_sync_meta
Hash field: {relayer_id}:last_sync
Value: Unix timestamp in seconds