You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Every ANEPC poll re-saves every incident and queues history jobs #55
Since #43, ProcessOcorrenciasSite (and ProcessANPCAllDataV2) set anepcUpdatedAt = now() on every incident in the feed. The other per-poll fields (duracaoMinutos, dataDosDados) are not fillable and are dropped, so before this change unchanged incidents were a no-op save. Now every incident is dirty every 2 minutes, fires IncidentObserver::updated and queues SaveIncidentHistory + SaveIncidentStatusHistory per incident per poll. anepcUpdatedAt is never read; source already records the owner.
Activity
fix(incidents): stop re-saving every incident on each ANEPC poll (#55) (