Skip to content

Commit

Permalink
Add 10 functions
Browse files Browse the repository at this point in the history
  • Loading branch information
istarkov committed Apr 22, 2024
1 parent 80f5894 commit da58436
Show file tree
Hide file tree
Showing 10 changed files with 140 additions and 0 deletions.
14 changes: 14 additions & 0 deletions apps/builder/app/routes/z.a.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { json, type ActionFunctionArgs } from "@remix-run/server-runtime";

export default function Logout() {
return <h1>HELLO</h1>;
}
// https://vercel.com/docs/functions/runtimes#max-duration
export const loader = async ({ request }: ActionFunctionArgs) => {
await new Promise((resolve) => setTimeout(resolve, 20000));
return json({});
};

export const config = {
maxDuration: 30,
};
14 changes: 14 additions & 0 deletions apps/builder/app/routes/z.b.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { json, type ActionFunctionArgs } from "@remix-run/server-runtime";

export default function Logout() {
return <h1>HELLO</h1>;
}
// https://vercel.com/docs/functions/runtimes#max-duration
export const loader = async ({ request }: ActionFunctionArgs) => {
await new Promise((resolve) => setTimeout(resolve, 20000));
return json({});
};

export const config = {
maxDuration: 30,
};
14 changes: 14 additions & 0 deletions apps/builder/app/routes/z.c.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { json, type ActionFunctionArgs } from "@remix-run/server-runtime";

export default function Logout() {
return <h1>HELLO</h1>;
}
// https://vercel.com/docs/functions/runtimes#max-duration
export const loader = async ({ request }: ActionFunctionArgs) => {
await new Promise((resolve) => setTimeout(resolve, 20000));
return json({});
};

export const config = {
maxDuration: 30,
};
14 changes: 14 additions & 0 deletions apps/builder/app/routes/z.d.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { json, type ActionFunctionArgs } from "@remix-run/server-runtime";

export default function Logout() {
return <h1>HELLO</h1>;
}
// https://vercel.com/docs/functions/runtimes#max-duration
export const loader = async ({ request }: ActionFunctionArgs) => {
await new Promise((resolve) => setTimeout(resolve, 20000));
return json({});
};

export const config = {
maxDuration: 30,
};
14 changes: 14 additions & 0 deletions apps/builder/app/routes/z.e.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { json, type ActionFunctionArgs } from "@remix-run/server-runtime";

export default function Logout() {
return <h1>HELLO</h1>;
}
// https://vercel.com/docs/functions/runtimes#max-duration
export const loader = async ({ request }: ActionFunctionArgs) => {
await new Promise((resolve) => setTimeout(resolve, 20000));
return json({});
};

export const config = {
maxDuration: 30,
};
14 changes: 14 additions & 0 deletions apps/builder/app/routes/z.f.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { json, type ActionFunctionArgs } from "@remix-run/server-runtime";

export default function Logout() {
return <h1>HELLO</h1>;
}
// https://vercel.com/docs/functions/runtimes#max-duration
export const loader = async ({ request }: ActionFunctionArgs) => {
await new Promise((resolve) => setTimeout(resolve, 20000));
return json({});
};

export const config = {
maxDuration: 30,
};
14 changes: 14 additions & 0 deletions apps/builder/app/routes/z.g.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { json, type ActionFunctionArgs } from "@remix-run/server-runtime";

export default function Logout() {
return <h1>HELLO</h1>;
}
// https://vercel.com/docs/functions/runtimes#max-duration
export const loader = async ({ request }: ActionFunctionArgs) => {
await new Promise((resolve) => setTimeout(resolve, 20000));
return json({});
};

export const config = {
maxDuration: 30,
};
14 changes: 14 additions & 0 deletions apps/builder/app/routes/z.h.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { json, type ActionFunctionArgs } from "@remix-run/server-runtime";

export default function Logout() {
return <h1>HELLO</h1>;
}
// https://vercel.com/docs/functions/runtimes#max-duration
export const loader = async ({ request }: ActionFunctionArgs) => {
await new Promise((resolve) => setTimeout(resolve, 20000));
return json({});
};

export const config = {
maxDuration: 30,
};
14 changes: 14 additions & 0 deletions apps/builder/app/routes/z.i.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { json, type ActionFunctionArgs } from "@remix-run/server-runtime";

export default function Logout() {
return <h1>HELLO</h1>;
}
// https://vercel.com/docs/functions/runtimes#max-duration
export const loader = async ({ request }: ActionFunctionArgs) => {
await new Promise((resolve) => setTimeout(resolve, 20000));
return json({});
};

export const config = {
maxDuration: 30,
};
14 changes: 14 additions & 0 deletions apps/builder/app/routes/z.j.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { json, type ActionFunctionArgs } from "@remix-run/server-runtime";

export default function Logout() {
return <h1>HELLO</h1>;
}
// https://vercel.com/docs/functions/runtimes#max-duration
export const loader = async ({ request }: ActionFunctionArgs) => {
await new Promise((resolve) => setTimeout(resolve, 20000));
return json({});
};

export const config = {
maxDuration: 30,
};

0 comments on commit da58436

Please sign in to comment.