mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 01:18:37 +00:00
updating audits workers var scope
This commit is contained in:
parent
09aa383cf3
commit
1838b9c4e8
1 changed files with 2 additions and 2 deletions
|
|
@ -17,9 +17,9 @@ use Utopia\System\System;
|
||||||
|
|
||||||
class Audits extends Action
|
class Audits extends Action
|
||||||
{
|
{
|
||||||
protected const BATCH_SIZE_DEVELOPMENT = 2; // smaller batch size for development
|
protected const BATCH_SIZE_DEVELOPMENT = 26; // smaller batch size for development
|
||||||
protected const BATCH_SIZE_PRODUCTION = 5_000;
|
protected const BATCH_SIZE_PRODUCTION = 5_000;
|
||||||
protected const BATCH_AGGREGATION_INTERVAL = 60; // in seconds
|
protected const BATCH_AGGREGATION_INTERVAL = 300; // in seconds
|
||||||
|
|
||||||
private int $lastTriggeredTime = 0;
|
private int $lastTriggeredTime = 0;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue