cloudendpoints / endpoints-management-python

A Python library for managing API services using Google's Service Control APIs
Apache License 2.0
19 stars 22 forks source link

Moving platform check for GAE_STANDARD before checking for GCE to avoid a network call #88

Open msjcloud opened 4 years ago

msjcloud commented 4 years ago

Moving check for GAE_STANDARD before checking for GCE. In GAE Standard environment occassional timeouts were seen, when accessing _METADATA_SERVER_URL With this change, GAE Standard environment does not have to pay penalty of a network call.

google-cla[bot] commented 4 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

msjcloud commented 4 years ago

@googlebot I signed it!