mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
feat: Purging collection cache
This commit is contained in:
parent
999c2cfac7
commit
821d0bee19
1 changed files with 1 additions and 0 deletions
|
|
@ -195,6 +195,7 @@ class V21 extends Migration
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$this->projectDB->updateAttribute($bucketId, 'metadata', size: 75000);
|
$this->projectDB->updateAttribute($bucketId, 'metadata', size: 75000);
|
||||||
|
$this->projectDB->purgeCachedCollection($bucketId);
|
||||||
} catch (\Throwable $th) {
|
} catch (\Throwable $th) {
|
||||||
Console::warning("'bucketId' from {$bucketId}: {$th->getMessage()}");
|
Console::warning("'bucketId' from {$bucketId}: {$th->getMessage()}");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue