mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: test rollback
This commit is contained in:
parent
b4448e013c
commit
fecffac573
@ -104,7 +104,7 @@ export default function Home() {
|
||||
className="flex flex-row items-center gap-2"
|
||||
>
|
||||
<Logo />
|
||||
<span className="font-medium text-sm">Dokploy.</span>
|
||||
<span className="font-medium text-sm">Dokploy</span>
|
||||
</Link>
|
||||
<CardTitle className="text-2xl font-bold">Sign in</CardTitle>
|
||||
<CardDescription>
|
||||
|
@ -600,8 +600,9 @@ export const settingsRouter = createTRPCRouter({
|
||||
health: publicProcedure.query(async () => {
|
||||
if (IS_CLOUD) {
|
||||
try {
|
||||
await db.execute(sql`SELECT 1`);
|
||||
return { status: "ok" };
|
||||
// await db.execute(sql`SELECT 1`);
|
||||
// return { status: "ok" };
|
||||
throw new Error("Not implemented");
|
||||
} catch (error) {
|
||||
console.error("Database connection error:", error);
|
||||
throw error;
|
||||
@ -610,3 +611,9 @@ export const settingsRouter = createTRPCRouter({
|
||||
return { status: "not_cloud" };
|
||||
}),
|
||||
});
|
||||
// {
|
||||
// "Parallelism": 1,
|
||||
// "Delay": 10000000000,
|
||||
// "FailureAction": "rollback",
|
||||
// "Order": "start-first"
|
||||
// }
|
||||
|
Loading…
Reference in New Issue
Block a user