Skip to content

Commit

Permalink
Add GRPC_POLL_STRATEGY to avoid spamming users. (#985)
Browse files Browse the repository at this point in the history
  • Loading branch information
roulaoregan-spi authored Jun 5, 2021
1 parent b174172 commit 32b7b53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pycue/opencue/cuebot.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@
DEFAULT_MAX_MESSAGE_BYTES = 1024 ** 2 * 10
DEFAULT_GRPC_PORT = 8443

# Avoid spamming users with epoll fork warning messages
os.environ["GRPC_POLL_STRATEGY"] = "epoll1"

class Cuebot(object):
"""Used to manage the connection to the Cuebot. Normally the connection
to the Cuebot is made automatically as needed so you don't have to explicitly
Expand Down

0 comments on commit 32b7b53

Please sign in to comment.
  翻译: