boolean removeDispatchedEventAfterSyncWithPrimary(EventID id) {
    boolean interrupted = Thread.interrupted();
    try {
      if (logger.isDebugEnabled()) {
        logger.debug(
            "After sync with primary for HARegionQueue {}, removing dispatched event with ID {}",
            regionName, id);
      }
      removeDispatchedEvents(id);
    } catch (RegionDestroyedException ignore) {
      logger.info(
          "HARegionQueue {} was found to be destroyed when attempting to remove dispatched event with ID {} after sync",
          regionName, id);
    } catch (CancelException ignore) {
      return false;
    } catch (CacheException e) {
      logger.error(String.format(
          "HARegionQueue %s encountered an exception when attempting to remove event with ID %s from the queue",
          regionName, id), e);
    } catch (InterruptedException ignore) {
      Thread.currentThread().interrupt();
      return false;
    } catch (RejectedExecutionException ignore) {
      interrupted = true;
    } finally {
      if (interrupted) {
        Thread.currentThread().interrupt();
      }
    }
    return true;
  }
expiry time for ThreadIdentifiers. In seconds.
geode-core/src/main/java/org/apache/geode/internal/cache/ha/HARegionQueue.java