Skip to content

Commit

Permalink
math reacts to inactivity
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Neagu committed Apr 8, 2024
1 parent f67ba54 commit 72cb231
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ ENV JP_LSP_VIRTUAL_DIR="/home/${NB_USER}/.virtual_documents"
COPY --chown=$NB_UID:$NB_GID docker /docker

# install service activity monitor
ARG ACTIVITY_MONITOR_VERSION=v0.0.1
ARG ACTIVITY_MONITOR_VERSION=v0.0.3

# Detection thresholds for application
ENV ACTIVITY_MONITOR_BUSY_THRESHOLD_CPU_PERCENT=0.5
Expand All @@ -102,8 +102,6 @@ ENV ACTIVITY_MONITOR_BUSY_THRESHOLD_DISK_WRITE_BPS=0
ENV ACTIVITY_MONITOR_BUSY_THRESHOLD_NETWORK_RECEIVE_BPS=1024
ENV ACTIVITY_MONITOR_BUSY_THRESHOLD_NETWORK_SENT_BPS=1024

# TODO: above values require some tewaking otherwise this will always be considered in use

# install service activity monitor
RUN apt-get update && \
apt-get install -y curl && \
Expand Down

0 comments on commit 72cb231

Please sign in to comment.