Skip to content

Commit

Permalink
Increase timeout from 15 minutes to 3 hours. Running on throttled con…
Browse files Browse the repository at this point in the history
…figs results in a need for a greater timeout...
  • Loading branch information
jon-bell committed Aug 4, 2023
1 parent 123544e commit ca0a8a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ COPY get_rel_project_reqs.js /home/npm-filter
RUN apt-get update \
&& apt-get -y install --no-install-recommends python3 git unzip vim curl gnupg xz-utils parallel

RUN apt update
RUN apt -y install python3-pip
RUN pip3 install bs4 scrapy xmltodict pandas

Expand Down
6 changes: 3 additions & 3 deletions src/diagnose_github_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ class RepoWalker():
TRACKED_BUILD_COMMANDS = ["build", "compile", "init"]

# timeouts for stages, in seconds
INSTALL_TIMEOUT = 1000
INSTALL_TIMEOUT = 10800 # 3 hours
# note: these are timeouts per *script* in the stage of the process
BUILD_TIMEOUT = 1000
TEST_TIMEOUT = 1000
BUILD_TIMEOUT = 10800 # 3 hours
TEST_TIMEOUT = 10800 # 3 hours

QL_CUTOFF = 5 # ignore if there are < 5 results

Expand Down

0 comments on commit ca0a8a2

Please sign in to comment.