Skip to content

Commit 156d317

Browse files
committed
Reduce the capacity of signal channels
1 parent e847817 commit 156d317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/workflowstate/signalchannels.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func GetSignalChannel[T any](ctx sync.Context, wf *WfState, name string) sync.Ch
3030
}
3131

3232
// Otherwise, create new channel
33-
c := sync.NewBufferedChannel[T](10_000)
33+
c := sync.NewBufferedChannel[T](100)
3434

3535
// Add channel to map
3636
wf.signalChannels[name] = &signalChannel{

0 commit comments

Comments
 (0)