|
@@ -9,7 +9,7 @@ import { handler as theclinic } from "./portales/theclinic/handler";
|
|
const context: Context = {
|
|
const context: Context = {
|
|
callbackWaitsForEmptyEventLoop: false,
|
|
callbackWaitsForEmptyEventLoop: false,
|
|
functionName: "",
|
|
functionName: "",
|
|
- functionVersion: "$LATEST",
|
|
|
|
|
|
+ functionVersion: "",
|
|
invokedFunctionArn: "",
|
|
invokedFunctionArn: "",
|
|
memoryLimitInMB: "0",
|
|
memoryLimitInMB: "0",
|
|
awsRequestId: "",
|
|
awsRequestId: "",
|
|
@@ -23,9 +23,13 @@ const context: Context = {
|
|
|
|
|
|
async function main (): Promise<void> {
|
|
async function main (): Promise<void> {
|
|
await elciudadano(null, context, () => {});
|
|
await elciudadano(null, context, () => {});
|
|
|
|
+ await new Promise((resolve) => setTimeout(resolve, 5000));
|
|
await eldesconcierto(null, context, () => {});
|
|
await eldesconcierto(null, context, () => {});
|
|
|
|
+ await new Promise((resolve) => setTimeout(resolve, 5000));
|
|
await emol(null, context, () => {});
|
|
await emol(null, context, () => {});
|
|
|
|
+ await new Promise((resolve) => setTimeout(resolve, 5000));
|
|
await latercera(null, context, () => {});
|
|
await latercera(null, context, () => {});
|
|
|
|
+ await new Promise((resolve) => setTimeout(resolve, 5000));
|
|
await theclinic(null, context, () => {});
|
|
await theclinic(null, context, () => {});
|
|
}
|
|
}
|
|
|
|
|