Flagsmith / flagsmith

Open Source Feature Flagging and Remote Config Service. Host on-prem or use our hosted version at https://flagsmith.com/
https://flagsmith.com/
BSD 3-Clause "New" or "Revised" License
4.9k stars 375 forks source link

New version published AuditLog record should use the time from the version #4573

Open matthewelwell opened 2 months ago

matthewelwell commented 2 months ago

Currently when a new version is published we create a task to create an AuditLog record. This AuditLog record is written without a specific datetime and hence just uses the current datetime. In situations where the task processor is running a little bit behind, this results in timestamps on the AuditLog records that don't match up with those on the versions themselves.