summaryrefslogtreecommitdiff
path: root/src/constants.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-06-16 00:39:11 +0900
committerGitHub <noreply@github.com>2025-06-16 00:39:11 +0900
commit0c00b203e61bffbadbc499cbf68af6f89a5a3e29 (patch)
treeeffd2636b35640cede4f2e8e362f18ee91836a5b /src/constants.go
parent3b68dcdd81394f1ac9f743e1f74ff754f95eef9e (diff)
downloadfzf-0c00b203e61bffbadbc499cbf68af6f89a5a3e29.tar.gz
Implement asynchronous transform actions (#4419)
Close #4418 Example: fzf --bind 'focus:bg-transform-header(sleep 2; date; echo {})'
Diffstat (limited to 'src/constants.go')
-rw-r--r--src/constants.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/constants.go b/src/constants.go
index ececdb97..6f56fd58 100644
--- a/src/constants.go
+++ b/src/constants.go
@@ -29,6 +29,10 @@ const (
maxPatternLength = 1000
maxMulti = math.MaxInt32
+ // Background processes
+ maxBgProcesses = 30
+ maxBgProcessesPerAction = 3
+
// Matcher
numPartitionsMultiplier = 8
maxPartitions = 32