From: Jérôme Benoit Date: Mon, 29 Apr 2024 14:04:42 +0000 (+0200) Subject: perf: reduce task usage history default size X-Git-Tag: v4.0.0~5 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=061f1e647e4c66588e56b6d5a5c97dabba36d98f;p=poolifier.git perf: reduce task usage history default size Signed-off-by: Jérôme Benoit --- diff --git a/src/circular-array.ts b/src/circular-array.ts index 511b699c..23473279 100644 --- a/src/circular-array.ts +++ b/src/circular-array.ts @@ -1,6 +1,6 @@ // Copyright Jerome Benoit. 2021-2024. All Rights Reserved. -export const DEFAULT_CIRCULAR_ARRAY_SIZE = 1024 +export const DEFAULT_CIRCULAR_ARRAY_SIZE = 385 /** * Array with a maximum length and shifting items when full.