updating audits workers var scope

This commit is contained in:
shimon 2025-03-04 19:49:37 +02:00
parent 1838b9c4e8
commit c443c8fdab

View file

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