Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
fix: use prepare false
Browse files Browse the repository at this point in the history
  • Loading branch information
KagChi committed Feb 20, 2024
1 parent d774d0c commit 2068828
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion services/kanao-gateway/src/Structures/KanaoGateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class NezuGateway extends EventEmitter {
public rest = new REST({ api: proxy, rejectOnRateLimit: proxy === "https://discord.com/api" ? null : () => false });
public logger = createLogger("kanao-gateway", clientId, storeLogs, lokiHost);

public drizzle = drizzle(postgres(databaseUrl), { schema });
public drizzle = drizzle(postgres(databaseUrl, { prepare: false }), { schema });

public prometheus = new APM({
PORT: prometheusPort,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { createLogger } from "../Logger.js";
import { ProcessContextFetchingStrategy } from "./ProcessContextFetchingStrategy.js";

export class ProcessBootstrapper {
public drizzle = drizzle(postgres(databaseUrl), { schema });
public drizzle = drizzle(postgres(databaseUrl, { prepare: false }), { schema });

/**
* The data passed to the child process
Expand Down

0 comments on commit 2068828

Please sign in to comment.