mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-24 13:56:39 +00:00
Merge pull request #1960 from Fredkiss3/refactor/separate-tables
refactor: separate tables
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user