Skip to content

Commit c1c0d5d

Browse files
committed
Fix typos
1 parent d455993 commit c1c0d5d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -393,9 +393,9 @@ Each worker pool instance exposes useful metrics that can be queried through the
393393
- `pool.RunningWorkers() int64`: Current number of running workers
394394
- `pool.SubmittedTasks() uint64`: Total number of tasks submitted since the pool was created
395395
- `pool.WaitingTasks() uint64`: Current number of tasks in the queue that are waiting to be executed
396-
- `pool.SuccessfulTasks() uint64`: Total number of tasks that have successfully completed their exection since the pool was created
396+
- `pool.SuccessfulTasks() uint64`: Total number of tasks that have successfully completed their execution since the pool was created
397397
- `pool.FailedTasks() uint64`: Total number of tasks that completed with panic since the pool was created
398-
- `pool.CompletedTasks() uint64`: Total number of tasks that have completed their exection either successfully or with panic since the pool was created
398+
- `pool.CompletedTasks() uint64`: Total number of tasks that have completed their execution either successfully or with panic since the pool was created
399399

400400
In our [Prometheus example](./examples/prometheus/main.go) we showcase how to configure collectors for these metrics and expose them to Prometheus.
401401

@@ -440,4 +440,4 @@ Here are some of the resources which have served as inspiration when writing thi
440440

441441
## Contribution & Support
442442

443-
Feel free to send a pull request if you consider there's something that should be polished or improved. Also, please open up an issue if you run into a problem when using this library or just have a question about it.
443+
Feel free to send a pull request if you consider there's something that should be polished or improved. Also, please open up an issue if you run into a problem when using this library or just have a question about it.

examples/pool_context/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func main() {
2626
// Create a pool and pass the context to it.
2727
pool := pond.NewPool(10, pond.WithContext(ctx))
2828

29-
// Submit several long runnning tasks
29+
// Submit several long running tasks
3030
var count int = 100
3131
for i := 0; i < count; i++ {
3232
i := i

0 commit comments

Comments
 (0)