Skip to content

Commit 6761f42

Browse files
author
Motalleb Fallahnezhad
committed
minor
1 parent 04dfbf7 commit 6761f42

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/jobs/runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func InitializeJobs(jobs []*config.JobConfig) {
3737
log.Panic("failed to validate job", zap.String("job", job.Name), zap.Error(err))
3838
}
3939
var signal abstraction.EventDispatcher = signals.NewSync[abstraction.Event]()
40-
if job.Debounce >= 0 {
40+
if job.Debounce > 0 {
4141
signal = debouncer.NewDebouncedSignal(signal, job.Debounce)
4242
}
4343
global.CountSignals(signal,

schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
},
4141
"debounce": {
4242
"type": "string",
43-
"description": "Debounce timer (every new event wil be dispatched immediately, and its guaranteed to receive an event after wait time finishes)."
43+
"description": "Debounce duration. Every new event is dispatched immediately, and an event is guaranteed after the debounce interval elapses."
4444
},
4545
"tasks": {
4646
"type": "array",

0 commit comments

Comments
 (0)