refactor(dyco): change the plc check time from 5 > 8
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user