From f18dfe5d3785679220b62375a4258598926db072 Mon Sep 17 00:00:00 2001 From: Bobby Date: Mon, 15 May 2023 08:47:47 -0400 Subject: Update screenshot time to get all messages in chat --- README.md | 2 +- ignis/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8c890fcf..4fdd8106 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Source Code for my Personal Website. ## Screenshot ![Live Screenshot](https://thatcomputerscientist.com/ignis/screenshot) -> _Screenshot served live from [thatcomputerscientist.com](https://thatcomputerscientist.com)'s server. For efficiency purposes, the screenshot is taken once per build and is served from the server's cache. The screenshot is updated whenever I push changes to this repository. Screenshots will generally be updated within 10 seconds after all GitHub Actions Workflows have completed._ +> _Screenshot served live from [thatcomputerscientist.com](https://thatcomputerscientist.com)'s server. For efficiency purposes, the screenshot is taken once per build and is served from the server's cache. The screenshot is updated whenever I push changes to this repository. Screenshots will generally be updated within 20 seconds after all GitHub Actions Workflows have completed._ ## Specifications - Server: [Nginx](https://www.nginx.com/) diff --git a/ignis/views.py b/ignis/views.py index 89494f29..89657814 100644 --- a/ignis/views.py +++ b/ignis/views.py @@ -187,7 +187,7 @@ def get_screenshot(request): # Wait until the page is loaded driver.get(url) - time.sleep(5) + time.sleep(10) # write 3 chat messages in #chatbox-input chatbox = driver.find_element('id', 'chatbox-input') -- cgit v1.2.3