mirror of
https://github.com/simon987/task_tracker.git
synced 2025-12-14 23:39:04 +00:00
docker-compose setup
This commit is contained in:
@@ -25,6 +25,9 @@ func (database *Database) ResetTimedOutTasks() {
|
||||
WHERE status=1 AND assignee IS NOT NULL
|
||||
AND extract(epoch from now() at time zone 'utc') > (assign_time + max_assign_time);`)
|
||||
handleErr(err)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
rowsAffected, _ := res.RowsAffected()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user