Phase 1: lock cron, reload chaud, argon2, providers, IMDb lookup, cache LRU, /health, /metrics, rate limit, UI dark, biome
This commit is contained in:
12
lib/http.js
12
lib/http.js
@@ -52,8 +52,16 @@ export class Limiter {
|
||||
Promise.resolve()
|
||||
.then(fn)
|
||||
.then(
|
||||
(v) => { this.active--; resolve(v); this._next(); },
|
||||
(e) => { this.active--; reject(e); this._next(); },
|
||||
(v) => {
|
||||
this.active--;
|
||||
resolve(v);
|
||||
this._next();
|
||||
},
|
||||
(e) => {
|
||||
this.active--;
|
||||
reject(e);
|
||||
this._next();
|
||||
},
|
||||
);
|
||||
};
|
||||
tryRun();
|
||||
|
||||
Reference in New Issue
Block a user