Merge "Remove eventlet workaround"
This commit is contained in:
commit
0acaa1e3be
@ -10,16 +10,8 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import os
|
|
||||||
|
|
||||||
import eventlet
|
import eventlet
|
||||||
|
|
||||||
# NOTE(TheJulia): Eventlet, when monkey patching occurs, replaces the base
|
|
||||||
# dns resolver methods. This can lead to compatibility issues,
|
|
||||||
# and un-expected exceptions being raised during the process
|
|
||||||
# of monkey patching. Such as one if there are no resolvers.
|
|
||||||
os.environ['EVENTLET_NO_GREENDNS'] = "yes"
|
|
||||||
|
|
||||||
# NOTE(JayF) Without monkey_patching socket, API requests will hang with TLS
|
# NOTE(JayF) Without monkey_patching socket, API requests will hang with TLS
|
||||||
# enabled. Enabling more than just socket for monkey patching causes failures
|
# enabled. Enabling more than just socket for monkey patching causes failures
|
||||||
# in image streaming. In an ideal world, we track down all those errors and
|
# in image streaming. In an ideal world, we track down all those errors and
|
||||||
|
Loading…
x
Reference in New Issue
Block a user