diff --git a/server/services/ocp/controller/specialProcesses/dyco/plcTags/labelerTag.ts b/server/services/ocp/controller/specialProcesses/dyco/plcTags/labelerTag.ts index f1def70..4173303 100644 --- a/server/services/ocp/controller/specialProcesses/dyco/plcTags/labelerTag.ts +++ b/server/services/ocp/controller/specialProcesses/dyco/plcTags/labelerTag.ts @@ -42,7 +42,7 @@ export const labelerTagRead = async (tagData: any) => { // check the dyco settings const dycoPrint = settingData.filter((n) => n.name === "dycoPrint"); // Only process if this is a new timestamp within the last 5 seconds - if (tagTime !== lastProcessedTimestamp && Date.now() - tagTime <= 5000) { + if (tagTime !== lastProcessedTimestamp && Date.now() - tagTime <= 8000) { lastProcessedTimestamp = tagTime; /** * add logic in to see if this is the first time we run this so we return an error to validate we are in sync.