UpdateUserTimestamp is the public API for updating the last_active_at column in the users table
(userID int)
| 137 | |
| 138 | // UpdateUserTimestamp is the public API for updating the last_active_at column in the users table |
| 139 | func UpdateUserTimestamp(userID int) { |
| 140 | userIDsToUpdate <- userID |
| 141 | } |
| 142 | |
| 143 | // This is a background worker that sends queued updates to the database in batches. |
| 144 | // For simplicity, there are no retries, error handling and synchronization |
no outgoing calls
no test coverage detected