Add more transactions support

This commit is contained in:
Owen
2025-10-17 16:22:43 -07:00
parent c07abf8ff9
commit 240c5b005b
3 changed files with 6 additions and 4 deletions

View File

@@ -920,7 +920,7 @@ export class UsageService {
};
// Don't await to prevent blocking
await sendToClient(newt.newtId, payload).catch(
sendToClient(newt.newtId, payload).catch(
(error: any) => {
logger.error(
`Failed to send termination message to newt ${newt.newtId}:`,

View File

@@ -238,7 +238,7 @@ export async function getTraefikConfig(
}
// get the valid certs for these domains
validCerts = await getValidCertificatesForDomains(domains, true); // we are caching here because this is called often
logger.debug(`Valid certs for domains: ${JSON.stringify(validCerts)}`);
// logger.debug(`Valid certs for domains: ${JSON.stringify(validCerts)}`);
}
const config_output: any = {

View File

@@ -149,7 +149,8 @@ export async function updateSiteBandwidth(
orgId,
true,
FeatureId.EGRESS_DATA_MB,
bandwidthUsage
bandwidthUsage,
trx
)
.catch((error: any) => {
logger.error(
@@ -175,7 +176,8 @@ export async function updateSiteBandwidth(
orgId,
true,
FeatureId.SITE_UPTIME,
uptimeUsage
uptimeUsage,
trx
)
.catch((error: any) => {
logger.error(