Skip to content

Commit c05c552

Browse files
committed
fix(project): update MAX_PERIOD to 1 month in seconds for rate limit settings
1 parent a541641 commit c05c552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resolvers/project.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ module.exports = {
225225

226226
// Validate reasonable maximums (prevent extremely large values)
227227
const MAX_THRESHOLD = 1000000000; // 1 billion
228-
const MAX_PERIOD = 31536000; // 1 year in seconds
228+
const MAX_PERIOD = 2678400; // 1 month in seconds
229229

230230
if (N > MAX_THRESHOLD) {
231231
throw new UserInputError(

0 commit comments

Comments
 (0)