Merge pull request #1960 from Fredkiss3/refactor/separate-tables

refactor: separate tables
This commit is contained in:
Milo Schwartz
2025-12-03 11:28:21 -08:00
committed by GitHub
31 changed files with 4383 additions and 3229 deletions

View File

@@ -246,7 +246,7 @@ export const handleGetConfigMessage: MessageHandler = async (context) => {
.from(siteResources)
.where(eq(siteResources.siteId, siteId));
let targetsToSend: SubnetProxyTarget[] = [];
const targetsToSend: SubnetProxyTarget[] = [];
for (const resource of allSiteResources) {
// Get clients associated with this specific resource

View File

@@ -304,8 +304,7 @@ export async function updateSiteResource(
});
}
// Update olms for both destination and alias changes
let olmJobs: Promise<void>[] = [];
const olmJobs: Promise<void>[] = [];
for (const client of mergedAllClients) {
// we also need to update the remote subnets on the olms for each client that has access to this site
olmJobs.push(