Skip to content

Commit

Permalink
Formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmorris committed Dec 21, 2023
1 parent c3b2269 commit 1f9f696
Showing 1 changed file with 30 additions and 5 deletions.
35 changes: 30 additions & 5 deletions packages/wp-now/src/pool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,36 @@ export class Pool {
}

Object.defineProperties(this, {
maxRequests: { value: maxRequests, writable: false, configurable: false, enumerable: false },
maxJobs: { value: maxJobs, writable: false, configurable: false, enumerable: false },
spawn: { value: spawn, writable: false, configurable: false, enumerable: false },
fatal: { value: fatal, writable: false, configurable: false, enumerable: false },
reap: { value: reap, writable: false, configurable: false, enumerable: false },
maxRequests: {
value: maxRequests,
writable: false,
configurable: false,
enumerable: false,
},
maxJobs: {
value: maxJobs,
writable: false,
configurable: false,
enumerable: false,
},
spawn: {
value: spawn,
writable: false,
configurable: false,
enumerable: false,
},
fatal: {
value: fatal,
writable: false,
configurable: false,
enumerable: false,
},
reap: {
value: reap,
writable: false,
configurable: false,
enumerable: false,
},
});
}

Expand Down

0 comments on commit 1f9f696

Please sign in to comment.