- Issue created by @swirt
- 🇺🇸United States swirt Florida
The start time has already been added in the appropriate place.
All that is needed is to update the status and set the end time when the queue is emptied. - 🇺🇸United States swirt Florida
The remaining work would be
- Add logic to this place in the ImageFieldAuditor to use the Queue service to see what is left in the current queue 'atv_entity_instances'. You will likely have to do it when the queue count is <= 1 rather than 0 because the item it is currently processing does not get deleted from the queue until AFTER processItem() has completed its current run.
- The queue service will have to be added by dependency injection.
- Add the AtvCommonTrait so that you can use it to reference the names of queues and State variables.
- It should update the State status key (self::getAuditStatusKey()) with 'Completed'
- It should update the State end time key (self::getAuditEndTimeKey()) with the current time (time()).
- The two keys should be updated using setMultiple() rather than set, so that it is only one query.
- 🇮🇳India nidhi27
Hi @swirt,
I have created MR #23 for this. Let me know if any changes are needed.
Thanks!