From c9b7ed51aa063eb63a54339b41af55f4f64bb696 Mon Sep 17 00:00:00 2001 From: Travis Turner Date: Tue, 21 Apr 2020 17:49:57 -0500 Subject: [PATCH] Update deadline comment Co-Authored-By: Matthew Jaffee --- transaction.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"`