'use strict';

// Back-compat re-export. The circuit breaker is now the generic lib/readpool-breaker.js
// (shared by getAllSessionsData, the prompt-index compute, and future off-thread reads).
// `createRecentSessionsBreaker` remains as an alias so existing imports keep working.

const { createReadPoolBreaker } = require('./readpool-breaker');

module.exports = {
  createReadPoolBreaker,
  createRecentSessionsBreaker: createReadPoolBreaker,
};
