Change up on the access logging
ukon1990 opened this issue · comments
Consider the logic behind the logging of file access, in a similar way as the insert stats queries are handled.
Passing down the accesses to a queue, that are processed at a fixed interval of once per 5-10 minute or so.
- Send the query to a queue
- Process the queries in sweden
- If successfully added (DB connection available etc), delete the query from the queue.
Solved the underlying issue, and removed the access logs as they are no longer needed.