Lower default Cursor review timeout to five minutes.
Balance responsiveness with cloud agent runtimes that exceeded the previous two-minute limit. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+1
-1
@@ -7,6 +7,6 @@ PORT=8787
|
|||||||
|
|
||||||
DEFAULT_BASE_BRANCH=main
|
DEFAULT_BASE_BRANCH=main
|
||||||
MAX_INLINE_COMMENTS=5
|
MAX_INLINE_COMMENTS=5
|
||||||
REVIEW_TIMEOUT_MS=600000
|
REVIEW_TIMEOUT_MS=300000
|
||||||
DEDUPE_TTL_SECONDS=1800
|
DEDUPE_TTL_SECONDS=1800
|
||||||
LOG_LEVEL=info
|
LOG_LEVEL=info
|
||||||
|
|||||||
@@ -154,7 +154,7 @@ Optional:
|
|||||||
|
|
||||||
- `DEFAULT_BASE_BRANCH` (default: `main`)
|
- `DEFAULT_BASE_BRANCH` (default: `main`)
|
||||||
- `MAX_INLINE_COMMENTS` (default: `5`)
|
- `MAX_INLINE_COMMENTS` (default: `5`)
|
||||||
- `REVIEW_TIMEOUT_MS` (default: `600000`, 10 minutes)
|
- `REVIEW_TIMEOUT_MS` (default: `300000`, 5 minutes)
|
||||||
- `DEDUPE_TTL_SECONDS` (default: `1800`)
|
- `DEDUPE_TTL_SECONDS` (default: `1800`)
|
||||||
- `LOG_LEVEL` (default: `info`; options: `debug`, `info`, `warn`, `error`)
|
- `LOG_LEVEL` (default: `info`; options: `debug`, `info`, `warn`, `error`)
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ const envSchema = z.object({
|
|||||||
PORT: z.coerce.number().int().positive().default(8787),
|
PORT: z.coerce.number().int().positive().default(8787),
|
||||||
DEFAULT_BASE_BRANCH: z.string().default("main"),
|
DEFAULT_BASE_BRANCH: z.string().default("main"),
|
||||||
MAX_INLINE_COMMENTS: z.coerce.number().int().positive().default(5),
|
MAX_INLINE_COMMENTS: z.coerce.number().int().positive().default(5),
|
||||||
REVIEW_TIMEOUT_MS: z.coerce.number().int().positive().default(600000),
|
REVIEW_TIMEOUT_MS: z.coerce.number().int().positive().default(300000),
|
||||||
DEDUPE_TTL_SECONDS: z.coerce.number().int().positive().default(1800)
|
DEDUPE_TTL_SECONDS: z.coerce.number().int().positive().default(1800)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user