Skip to content

Commit 482d904

Browse files
committed
set ttl to 5 minutes for serverless
1 parent 57d76a8 commit 482d904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ let cache
1111
const loadProbot = (plugin) => {
1212
cache = cache || cacheManager.caching({
1313
store: 'memory',
14-
ttl: 60 * 60 // 1 hour
14+
ttl: 60 * 5 // 5 minutes
1515
})
1616

1717
app = app || new Application({

0 commit comments

Comments
 (0)