Skip to content

Commit fa5a6eb

Browse files
authored
Merge pull request #1874 from tseaver/pubsub-disable_gax_by_default
Disable pubsub-over-gax by default.
2 parents 8c609e9 + 6415e22 commit fa5a6eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gcloud/pubsub/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
_HAVE_GAX = True
4040

4141

42-
_USE_GAX = _HAVE_GAX and os.environ.get('GCLOUD_DISABLE_GAX') is None
42+
_USE_GAX = _HAVE_GAX and (os.environ.get('GCLOUD_ENABLE_GAX') is not None)
4343

4444

4545
class Client(JSONClient):

0 commit comments

Comments
 (0)