Linux vmi2545633.contaboserver.net 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64
Apache/2.4.62 (Debian)
Server IP : 127.0.0.1 & Your IP : 127.0.0.1
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
node_modules /
pm2 /
node_modules /
ws /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
buffer-util.js
2.97
KB
-rw-r--r--
2025-04-08 13:05
constants.js
268
B
-rw-r--r--
2025-04-08 13:05
event-target.js
4.29
KB
-rw-r--r--
2025-04-08 13:05
extension.js
6.72
KB
-rw-r--r--
2025-04-08 13:05
limiter.js
1.01
KB
-rw-r--r--
2025-04-08 13:05
permessage-deflate.js
13.98
KB
-rw-r--r--
2025-04-08 13:05
receiver.js
13.71
KB
-rw-r--r--
2025-04-08 13:05
sender.js
10.57
KB
-rw-r--r--
2025-04-08 13:05
stream.js
4.54
KB
-rw-r--r--
2025-04-08 13:05
validation.js
2.44
KB
-rw-r--r--
2025-04-08 13:05
websocket-server.js
12.29
KB
-rw-r--r--
2025-04-08 13:05
websocket.js
30.18
KB
-rw-r--r--
2025-04-08 13:05
Save
Rename
'use strict'; const kDone = Symbol('kDone'); const kRun = Symbol('kRun'); /** * A very simple job queue with adjustable concurrency. Adapted from * https://github.com/STRML/async-limiter */ class Limiter { /** * Creates a new `Limiter`. * * @param {Number} [concurrency=Infinity] The maximum number of jobs allowed * to run concurrently */ constructor(concurrency) { this[kDone] = () => { this.pending--; this[kRun](); }; this.concurrency = concurrency || Infinity; this.jobs = []; this.pending = 0; } /** * Adds a job to the queue. * * @param {Function} job The job to run * @public */ add(job) { this.jobs.push(job); this[kRun](); } /** * Removes a job from the queue and runs it if possible. * * @private */ [kRun]() { if (this.pending === this.concurrency) return; if (this.jobs.length) { const job = this.jobs.shift(); this.pending++; job(this[kDone]); } } } module.exports = Limiter;