mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
debug
This commit is contained in:
parent
74ecc20751
commit
7921bd62d9
1 changed files with 2 additions and 4 deletions
|
|
@ -753,10 +753,8 @@ App::shutdown()
|
|||
);
|
||||
|
||||
$timestamp = 60 * 60 * 24 * 30;
|
||||
$data = $cache->load($key, $timestamp);
|
||||
var_dump($cacheLog->getAttribute('signature'));
|
||||
var_dump(empty($data));
|
||||
if ($signature !== $cacheLog->getAttribute('signature') || empty($data)) {
|
||||
$cacheFile = $cache->load($key, $timestamp);
|
||||
if ($signature !== $cacheLog->getAttribute('signature') || empty($cacheFile)) {
|
||||
$cache->save($key, $data['payload']);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue