aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site
diff options
context:
space:
mode:
authorGravatar Bluenix <[email protected]>2022-07-14 02:46:03 +0200
committerGravatar Bluenix <[email protected]>2022-07-14 02:46:03 +0200
commit2d8520a0f3211e3d788d431287359b496782c962 (patch)
treec2f48defd05b6d832bb814b87452a7aacfa9fc3d /pydis_site
parentAdd `aiohttp` to approved frameworks (diff)
Add rule about forced usage of WebSockets
Diffstat (limited to 'pydis_site')
-rw-r--r--pydis_site/templates/events/pages/code-jams/9/rules.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/pydis_site/templates/events/pages/code-jams/9/rules.html b/pydis_site/templates/events/pages/code-jams/9/rules.html
index 72c0372e..a88c795a 100644
--- a/pydis_site/templates/events/pages/code-jams/9/rules.html
+++ b/pydis_site/templates/events/pages/code-jams/9/rules.html
@@ -12,6 +12,15 @@
{% block event_content %}
<ol>
<li><p>Your solution must use one of the approved frameworks (a list will be released soon). It is not permitted to circumvent this rule by e.g. using the approved framework as a wrapper for another framework.</p></li>
+ <li>
+ <p><strong>Your solution must only communicate through WebSockets</strong>. Any communication between the client and server (or any two server workers), must utilize WebSockets.</p>
+
+ <p>
+ Exceptions to this rule are made for resources such as databases and files, albeit excluding usage other than for storage.
+ For example, you may use PostgreSQL as a database but not its `NOTIFY` command.
+ Lastly, working with subprocesses (through stdin/stdout or <code>multiprocessing.Pool()</code>/<code>concurrent.futures.ProcessPoolExecutor()(</code>) is also exempted from this rule.
+ </p>
+ </li>
<li><p>Your solution should be platform agnostic. For example, if you use filepaths in your submission, use <code>pathlib</code> to create platform agnostic Path objects instead of hardcoding the paths.</p></li>
<li>
<p>