You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Job debouncing limits job duplicates. When a script is queued with the same debouncing key within the specified time window, only the most recent one will run. This helps prevent duplicate executions and reduces unnecessary API calls.
7
+
When job debouncing is enabled, started jobs are scheduled for a specified future time. If another job with the same debounce key is queued within this duration, it will "debounce" the previous job by canceling it.
8
8
9
9
Job debouncing is a [Cloud plans and Pro Enterprise Self-Hosted](/pricing) only feature.
10
10
11
-
Job debouncing can be set from the Settings menu. When jobs share the same debouncing key within the time window, earlier jobs are automatically cancelled as "debounced" and only the latest job runs.
11
+
Job debouncing can be set from the Settings menu. The Job debouncing feature operates globally and involves several configuration fields:
12
12
13
-
The Job debouncing feature operates globally and involves two key parameters:
13
+
## Configuration fields
14
14
15
-
## Debounce delay in seconds
15
+
###Debounce delay in seconds
16
16
17
-
Set in seconds, the time window defines the period within which jobs with the same key are debounced.
17
+
The time window in seconds for debouncing. If not set, the job will not debounce existing jobs and will not be cancelled by any other job.
18
18
19
-
## Custom debouncing key
19
+
###Custom debounce key
20
20
21
-
This parameter is optional. Debouncing keys are global, you can have them be workspace specific using the variable `$workspace`. You can also use an argument's value using `$args[name_of_arg]`.
21
+
Optional field to create debounce keys that are not bound to path and arguments. If not set, the default debounce key is used, which is composed of workspace ID, runnable path, and argument values passed to it.
22
+
23
+
Debouncing keys are global, you can have them be workspace specific using the variable `$workspace`. You can also use an argument's value using `$args[name_of_arg]`.
24
+
25
+
### Max Total Debouncing Time
26
+
27
+
How long (in seconds) a job can be debounced by the same key. If exceeded, new jobs with the same key will not debounce existing jobs and let them execute, while still scheduling themselves for future execution.
28
+
29
+
### Max Total Debounces Amount
30
+
31
+
Same as previous one, but counts debounces instead of time.
32
+
33
+
### Debounce Args To Accumulate
34
+
35
+
This field allows you to consolidate arguments across debounced jobs. If one of your main function arguments takes an array of any type, you can specify this argument in this parameter. This will exclude it from the default debounce key and when the job executes, it will concatenate all values of the specified argument from previous jobs related to this debouncing period.
0 commit comments