updating audits workers var scope

This commit is contained in:
shimon 2025-03-04 20:34:56 +02:00
parent c443c8fdab
commit f2ad3a501e

View file

@ -17,9 +17,9 @@ use Utopia\System\System;
class Audits extends Action
{
protected const BATCH_SIZE_DEVELOPMENT = 6; // smaller batch size for development
protected const BATCH_SIZE_DEVELOPMENT = 1; // smaller batch size for development
protected const BATCH_SIZE_PRODUCTION = 5_000;
protected const BATCH_AGGREGATION_INTERVAL = 120; // in seconds
protected const BATCH_AGGREGATION_INTERVAL = 60; // in seconds
private int $lastTriggeredTime = 0;