Skip to content

Commit

Permalink
Merge pull request #17 from linkedin/master
Browse files Browse the repository at this point in the history
Call gevent.monkey.patch_all immediately on import (linkedin#703)
  • Loading branch information
allwyn-pradip authored Apr 12, 2022
2 parents e085697 + 6a8a70b commit 4be2da7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/iris/api.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright (c) LinkedIn Corporation. All rights reserved. Licensed under the BSD-2 Clause license.
# See LICENSE in the project root for license information.
from gevent import spawn, sleep, socket, Timeout
from gevent import spawn, sleep, socket, Timeout, monkey
monkey.patch_all() # NOQA

import msgpack
import time
Expand Down

0 comments on commit 4be2da7

Please sign in to comment.