File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
src/app/api/deploy-postgres Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -17,18 +17,18 @@ const SUSPEND_TIMEOUT_SECONDS = 120; // 2 minutes
1717const PROJECT_COOKIE_MAX_AGE_SECONDS = 3600 ; // 1 hour
1818const PROJECT_COOKIE_NAME = 'neon-project' ;
1919
20- const neonApiClient = createApiClient ( {
21- apiKey : process . env . DEPLOY_POSTGRES_NEON_API_KEY ,
22- } ) ;
20+ // const neonApiClient = createApiClient({
21+ // apiKey: process.env.DEPLOY_POSTGRES_NEON_API_KEY,
22+ // });
2323
24- const ratelimit = new Ratelimit ( {
25- redis : new Redis ( {
26- url : process . env . DEPLOY_POSTGRES_UPSTASH_REDIS_REST_URL ,
27- token : process . env . DEPLOY_POSTGRES_UPSTASH_REDIS_REST_TOKEN ,
28- } ) ,
29- limiter : Ratelimit . slidingWindow ( RATE_LIMIT_REQUESTS , RATE_LIMIT_WINDOW ) ,
30- analytics : true ,
31- } ) ;
24+ // const ratelimit = new Ratelimit({
25+ // redis: new Redis({
26+ // url: process.env.DEPLOY_POSTGRES_UPSTASH_REDIS_REST_URL,
27+ // token: process.env.DEPLOY_POSTGRES_UPSTASH_REDIS_REST_TOKEN,
28+ // }),
29+ // limiter: Ratelimit.slidingWindow(RATE_LIMIT_REQUESTS, RATE_LIMIT_WINDOW),
30+ // analytics: true,
31+ // });
3232
3333// Disabled Upstash Redis and ticket creation for build
3434export async function POST ( request ) {
You can’t perform that action at this time.
0 commit comments