diff options
| author | Bobby <[email protected]> | 2023-05-15 08:47:47 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2023-05-15 08:47:47 -0400 |
| commit | f18dfe5d3785679220b62375a4258598926db072 (patch) | |
| tree | 90edb8e76f81e1a7035a4c37d444c219d2b9fc87 | |
| parent | e3818d19e488a44e049744a5deec828d9aa852ac (diff) | |
| download | thatcomputerscientist-f18dfe5d3785679220b62375a4258598926db072.tar.xz thatcomputerscientist-f18dfe5d3785679220b62375a4258598926db072.zip | |
Update screenshot time to get all messages in chat
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | ignis/views.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -8,7 +8,7 @@ Source Code for my Personal Website. ## Screenshot  -> <sub><sup>_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._</sup></sub> +> <sub><sup>_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._</sup></sub> ## 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') |
