Skip to content

Commit

Permalink
Improve README
Browse files Browse the repository at this point in the history
  • Loading branch information
cressie176 committed Aug 27, 2023
1 parent e6687bf commit 24f69ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const factory = new CustomResourceFactory();
const pool = new Pool({ factory, acquireTimeout: 5000, destroyTimeout: 5000 });

pool.on(DestroyResourceOperation.FAILED, () => {
pool.eviceBadResources();
pool.evictBadResources();
}).on(XPoolEvent, ({ code, message }) => {
console.log(code, message, pool.stats());
});
Expand Down

0 comments on commit 24f69ec

Please sign in to comment.