Reduce img wait time
This commit is contained in:
parent
a6d2990e7a
commit
e64c9feea2
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -13,7 +13,7 @@ if (!fs.existsSync(cacheFile)) { fs.writeFileSync(cacheFile, "{}") }
|
||||||
|
|
||||||
var app = express()
|
var app = express()
|
||||||
|
|
||||||
const imgWaitMax = 15
|
const imgWaitMax = 2
|
||||||
|
|
||||||
app.get("/cached/*", (req, res) => {
|
app.get("/cached/*", (req, res) => {
|
||||||
var imgURL = req.originalUrl
|
var imgURL = req.originalUrl
|
||||||
|
|
Loading…
Reference in a new issue