updating audits workers var scope

This commit is contained in:
shimon 2025-03-04 19:49:10 +02:00
parent 09aa383cf3
commit 1838b9c4e8

View file

@ -17,9 +17,9 @@ use Utopia\System\System;
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_AGGREGATION_INTERVAL = 60; // in seconds
protected const BATCH_AGGREGATION_INTERVAL = 300; // in seconds
private int $lastTriggeredTime = 0;