Skip to content

Commit

Permalink
[rqd] Disable pynput in the Docker image to prevent confusing warning…
Browse files Browse the repository at this point in the history
… logs. (#1311)
  • Loading branch information
n-jay authored Oct 3, 2023
1 parent 226a27d commit 287dc1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rqd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ RUN versioned_name="rqd-$(cat ./VERSION)-all" \
&& tar -cvzf $versioned_name.tar.gz $versioned_name/* \
&& ln -s $versioned_name rqd

RUN mkdir -p /etc/opencue
RUN echo "[Override]" > /etc/opencue/rqd.conf
RUN echo "USE_NIMBY_PYNPUT=false" >> /etc/opencue/rqd.conf

# RQD gRPC server
EXPOSE 8444

Expand Down
2 changes: 2 additions & 0 deletions rqd/rqd/rqconstants.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@
CUEBOT_HOSTNAME = config.get(__section, "OVERRIDE_CUEBOT")
if config.has_option(__section, "OVERRIDE_NIMBY"):
OVERRIDE_NIMBY = config.getboolean(__section, "OVERRIDE_NIMBY")
if config.has_option(__section, "USE_NIMBY_PYNPUT"):
USE_NIMBY_PYNPUT = config.getboolean(__section, "USE_NIMBY_PYNPUT")
if config.has_option(__section, "OVERRIDE_HOSTNAME"):
OVERRIDE_HOSTNAME = config.get(__section, "OVERRIDE_HOSTNAME")
if config.has_option(__section, "GPU"):
Expand Down

0 comments on commit 287dc1a

Please sign in to comment.