File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
src/packages/app-framework
src/credential-manager/rate-limit-tracker Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -403,7 +403,7 @@ and can be used to track installation lifecycles reliably.
403403
404404### Rate Limit Scheduler
405405
406- Scans GitHub App Rate Limit usages every 5 minutes
406+ Scans GitHub App Rate Limit usages every 10 minutes
407407and generates corresponding metrics.
408408These metrics are accessible through the rate limit dashboard.
409409This enables proper tracking of API usage for each GitHub App.
Original file line number Diff line number Diff line change @@ -31,11 +31,12 @@ export class RateLimitTracker extends Construct {
3131 props . InstallationTable . tableName ,
3232 } ,
3333 description : 'Tracks GitHub API Rate Limits' ,
34- memorySize : 512 ,
34+ memorySize : 1024 ,
35+ timeout : Duration . minutes ( 5 ) ,
3536 } ) ;
3637
3738 new Rule ( scope , 'rateLimitTrackerRule' , {
38- schedule : Schedule . rate ( Duration . minutes ( 5 ) ) ,
39+ schedule : Schedule . rate ( Duration . minutes ( 10 ) ) ,
3940 enabled : true ,
4041 targets : [ new LambdaFunction ( this . lambdaHandler ) ] ,
4142 } ) ;
You can’t perform that action at this time.
0 commit comments