feat(db): migrate from lowdb to SQLite with repos pattern
- Add modular DB layer (adapters, migrations, repos, helpers) - Replace localDb/usageDb/requestDetailsDb monoliths with repos - Add Tailscale tunnel integration & status check API - Add /api/cli-tools/all-statuses aggregated endpoint - Add settingsStore (Zustand) and mitm/dbReader - Add DB unit tests (benchmark, concurrent, migration, vs-lowdb)
This commit is contained in:
@@ -17,6 +17,9 @@ export async function ensureOutboundProxyInitialized() {
|
||||
return initialized;
|
||||
}
|
||||
|
||||
ensureOutboundProxyInitialized().catch(console.log);
|
||||
// Defer init so HTTP server accepts connections first
|
||||
setImmediate(() => {
|
||||
ensureOutboundProxyInitialized().catch(console.log);
|
||||
});
|
||||
|
||||
export default ensureOutboundProxyInitialized;
|
||||
|
||||
Reference in New Issue
Block a user