Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

Commit e1187b9

Browse files
authored
Merge pull request #221 from appwrite/feat-disable-rate-limiting
Feat disable rate limiting
2 parents 71eb3d4 + ec840e3 commit e1187b9

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

app/views/docs/environment-variables.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ $markdown->setSafeMode(true);
99

1010
<p>Updating your Appwrite environment variables requires you to edit your Appwrite .env file. Your Docker files should be located inside the "appwrite" folder at the location where you first run the Appwrite installation script. It's recommended to use the .env file as a central point for updating your Appwrite configuration rather than changing them directly in your docker-compose.yml file.</p>
1111

12-
<p>After editing your docker-compose.yml or .env files, you will need to restart your Appwrite stack by running the following compose command in your terminal:</p>
12+
<p>After editing your docker-compose.yml or .env files, you will need to recreate your Appwrite stack by running the following compose command in your terminal:</p>
1313

1414
<div class="ide margin-bottom" data-lang="bash" data-lang-label="Bash">
1515
<pre class="line-numbers"><code class="prism language-bash" data-prism>docker compose up -d</code></pre>

app/views/docs/rate-limits.phtml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,11 @@ Connection: close
7979
}
8080
</code></pre>
8181
</div>
82+
83+
<h2><a href="/docs/rate-limits#disable-limits" id="disable-limits">Disable Rate Limits</a></h2>
84+
<p>During development, you may need to frequently make requests to certain endpoints to test your code. You can temporarily disable rate limiting to prevent triggering rate limits during development.
85+
Disable rate limiting using the <span class="tag">_APP_OPTIONS_ABUSE</span> environment variable. Make sure to re-enable rate limiting in production environments.</p>
86+
87+
<p>
88+
<a href="/docs/environment-variables"><i class="icon-angle-circled-right"></i>Learn more about environment variables</a>
89+
</p>

0 commit comments

Comments
 (0)