Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typos in documentation files #2661

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/node-core/src/utils/queues/autoQueue.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import {AutoQueue} from './autoQueue';

describe('AutoQueue', () => {
it('resovles promises in the order they are pushed', async () => {
it('resolves promises in the order they are pushed', async () => {
const autoQueue = new AutoQueue<number>(10, 5);
const results: number[] = [];

Expand Down
2 changes: 1 addition & 1 deletion packages/node-core/src/utils/queues/autoQueue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type Action<T> = {
};

/*
* AutoQueue processes asnyc funcitons in order with a level of concurrency
* AutoQueue processes asnyc functions in order with a level of concurrency
* When concurrency is used it will be running many functions concurrently,
* but the promisies for this will still resolve in order they were inserted in the queue
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/node-core/src/utils/queues/rampQueue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const MIN_SIZES = 20;
const logger = getLogger('RampQueue');

/**
* The ramp queue is an exension of the AutoQueue which dynamically adjusts the concurrency based on the getSize function.
* The ramp queue is an extension of the AutoQueue which dynamically adjusts the concurrency based on the getSize function.
* It will start at concurrency 1 and ramp up to the max concurrency unless there is a large jump above the median size then it will decrease.
* */
export class RampQueue<T> extends AutoQueue<T> {
Expand Down