Skip to content

Commit 6415e22

Browse files
committed
Disable pubsub-over-gax by default.
Re-enable via environment variable, 'GCLOUD_ENABLE_GAX'. See #1873 for post-0.16.0 follow-up.
1 parent 8c609e9 commit 6415e22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)