mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Merge pull request #9411 from appwrite/lohanidamodar-patch-2
Fix: stats resources only queue projects accessed in last 3 hours
This commit is contained in:
commit
1816fae5a3
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ class StatsResources extends Action
|
||||||
Authorization::disable();
|
Authorization::disable();
|
||||||
Authorization::setDefaultStatus(false);
|
Authorization::setDefaultStatus(false);
|
||||||
|
|
||||||
$last24Hours = (new \DateTime())->sub(\DateInterval::createFromDateString('24 hours'));
|
$last24Hours = (new \DateTime())->sub(\DateInterval::createFromDateString('3 hours'));
|
||||||
/**
|
/**
|
||||||
* For each project that were accessed in last 24 hours
|
* For each project that were accessed in last 24 hours
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue