Skip to content

Commit

Permalink
Merge pull request #9 from pbitzer/web_page_generation
Browse files Browse the repository at this point in the history
Improve speed of web page generation
  • Loading branch information
CAM-Gerlach authored Oct 22, 2020
2 parents f2bc762 + bd5ec94 commit 15650a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sindri/utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


PACKAGE_NAME = "Sindri"
WEBSITE_UPDATE_INTERVAL_S = 600
WEBSITE_UPDATE_INTERVAL_S = 60
TRIGGER_SIZE_MB = 22.0


Expand Down
2 changes: 1 addition & 1 deletion src/sindri/website/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ def generate_daily_data(


def generate_site_data(content_pages, project_path=None):
full_data = sindri.process.ingest_status_data(n_days=None)
full_data = sindri.process.ingest_status_data(n_days=30)
input_path_default = sindri.process.get_status_data_paths(n_days=1)[0]
if project_path:
project_path = Path(project_path) / ASSET_PATH
Expand Down

0 comments on commit 15650a8

Please sign in to comment.