File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 1
- const codedown = require ( 'codedown' ) ;
2
1
const fs = require ( 'fs' ) ;
3
2
4
3
try {
8
7
}
9
8
fs . mkdirSync ( './examples' ) ;
10
9
11
- const SEPERATOR = '-------------SEPERATOR-------------' ;
12
10
const TICK = ' await new Promise((resolve) => setTimeout(resolve, 0));' ;
13
11
14
12
const codeBlocks = fs
Original file line number Diff line number Diff line change @@ -328,7 +328,7 @@ function getUserById(userId: number, forceFresh?: boolean) {
328
328
return cachified ({
329
329
forceFresh ,
330
330
/* when getting a forced fresh value fails we fall back to cached value
331
- as long as it's not older then one hour */
331
+ as long as it's not older then 5 minutes */
332
332
fallbackToCache: 300_000 /* 5 minutes, defaults to Infinity */ ,
333
333
334
334
cache ,
You can’t perform that action at this time.
0 commit comments