Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.189.184.208
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp /
node_modules /
ws /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
buffer-util.js
2.97
KB
-rw-r--r--
1985-10-26 08:15
constants.js
268
B
-rw-r--r--
1985-10-26 08:15
event-target.js
4.29
KB
-rw-r--r--
1985-10-26 08:15
extension.js
6.72
KB
-rw-r--r--
1985-10-26 08:15
limiter.js
1.01
KB
-rw-r--r--
1985-10-26 08:15
permessage-deflate.js
13.98
KB
-rw-r--r--
1985-10-26 08:15
receiver.js
13.71
KB
-rw-r--r--
1985-10-26 08:15
sender.js
10.57
KB
-rw-r--r--
1985-10-26 08:15
stream.js
4.54
KB
-rw-r--r--
1985-10-26 08:15
validation.js
2.44
KB
-rw-r--r--
1985-10-26 08:15
websocket-server.js
12.23
KB
-rw-r--r--
1985-10-26 08:15
websocket.js
28.26
KB
-rw-r--r--
1985-10-26 08:15
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;