MCPcopy
hub / github.com/destel/rill / UpdateUserTimestamp

Function UpdateUserTimestamp

example_test.go:139–141  ·  view source on GitHub ↗

UpdateUserTimestamp is the public API for updating the last_active_at column in the users table

(userID int)

Source from the content-addressed store, hash-verified

137
138// UpdateUserTimestamp is the public API for updating the last_active_at column in the users table
139func 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

Callers 1

Example_batchingRealTimeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected