diff --git a/transaction.go b/transaction.go index b6e40df24..299d3d134 100644 --- a/transaction.go +++ b/transaction.go @@ -42,7 +42,7 @@ type Transaction struct { // Timeout is the minimum idle time for which this transaction should continue to exist. Timeout time.Duration `json:"timeout"` - // Deadline is calculated from Timeout, and will be reset each + // Deadline is calculated from Timeout. TODO reset deadline each time there is activity on the transaction. (we can't do this until there is some method of associating a request/call with a transaction) // time there is activity on the transaction. Deadline time.Time `json:"deadline"`