Skip to content

Commit 5ed31b6

Browse files
authored
Revert setting unblockSelectorSignal SDK flag by default (#2070)
1 parent 3e46cbd commit 5ed31b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/internal_flags.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package internal
22

33
import (
44
"math"
5+
"os"
56

67
"go.temporal.io/api/workflowservice/v1"
78
)
@@ -33,7 +34,7 @@ const (
3334

3435
// unblockSelectorSignal exists to allow us to configure the default behavior of
3536
// SDKFlagBlockedSelectorSignalReceive. This is primarily useful with tests.
36-
var unblockSelectorSignal = true
37+
var unblockSelectorSignal = os.Getenv("UNBLOCK_SIGNAL_SELECTOR") != ""
3738

3839
func sdkFlagFromUint(value uint32) sdkFlag {
3940
switch value {

0 commit comments

Comments
 (0)