private boolean exceedMaxDelay(Snapshot snapshot) {
    if (tagConfig.getMaxDelayMinutes() <= 0) {
      return false;
    }
    long delay = snapshot.timestampMillis() - getTagTriggerTimestampMillis();
    return delay > tagConfig.getMaxDelayMinutes() * 60_000L;
  }
Action to auto create tag for Iceberg Table.
amoro-ams/src/main/java/org/apache/amoro/server/optimizing/maintainer/AutoCreateIcebergTagAction.java