Update deadline comment

Co-Authored-By: Matthew Jaffee <matthew.jaffee@gmail.com>
This commit is contained in:
Travis Turner 2020-04-21 17:49:57 -05:00 committed by GitHub
parent 08583cf2d0
commit c9b7ed51aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"`