Skip to content

Commit

Permalink
fix spelling of environment
Browse files Browse the repository at this point in the history
  • Loading branch information
ludralph authored Jan 10, 2025
1 parent 6adb5e7 commit 608a9ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/700-optimize/600-faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ They are counted based on viewed recommendations. Once you click on a recommenda

No, Prisma Optimize is not intended for production use. It is specifically designed for local development, providing valuable insights and optimizations during that phase. While it’s technically possible to run it in a production environment, doing so could result in performance problems or unexpected behaviors, as Optimize is not built to handle the complexity and scale of production workloads. For the best experience, we recommend using Prisma Optimize solely in your development environment.

You can use the `enable` property in the Optimize extension to run Optimize only in development envrioment. By default, the `enable` property is set to `true`.
You can use the `enable` property in the Optimize extension to run Optimize only in development environment. By default, the `enable` property is set to `true`.

```ts file=script.ts copy showLineNumbers
import { PrismaClient } from '@prisma/client'
Expand All @@ -42,4 +42,4 @@ const prisma = new PrismaClient().$extends(
enable: process.env.ENVIRONMENT === 'development',
})
);
```
```

0 comments on commit 608a9ef

Please sign in to comment.