1
0
Fork 0
mirror of synced 2024-06-01 18:39:57 +12:00

Prevent cache from being flushed on start

We shouldn't clear the cache because scheduled functions are also
in the cache and we don't want to lose them.
This commit is contained in:
Steven Nguyen 2023-03-09 13:42:43 -08:00
parent 8b7dd6eaa6
commit 137c2d663e
No known key found for this signature in database
2 changed files with 8 additions and 1 deletions

View file

@ -436,6 +436,14 @@ composer lint
composer lint <your file path>
```
## Clearing the Cache
If you need to clear the cache, you can do so by running the following command:
```bash
docker compose exec redis redis-cli FLUSHALL
```
## Tutorials
From time to time, our team will add tutorials that will help contributors find their way in the Appwrite source code. Below is a list of currently available tutorials:

View file

@ -92,7 +92,6 @@ $http->on('start', function (Server $http) use ($payloadSize, $register) {
$collections = Config::getParam('collections', []);
try {
$redis->flushAll();
Console::success('[Setup] - Creating database: appwrite...');
$dbForConsole->create();
} catch (\Exception $e) {