Skip to content

Commit

Permalink
add maxWait use relaxed
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric committed May 4, 2023
1 parent 6a1fa4d commit af8e796
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/api/imagine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const client = new Midjourney(
<string>process.env.CHANNEL_ID,
<string>process.env.SALAI_TOKEN
);
client.maxWait = 600;
const handler = async (req: Request) => {
const { prompt } = await req.json();
console.log("imagine.handler", prompt);
Expand Down

1 comment on commit af8e796

@vercel
Copy link

@vercel vercel bot commented on af8e796 May 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.