mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
Update deadline comment
Co-Authored-By: Matthew Jaffee <matthew.jaffee@gmail.com>
This commit is contained in:
parent
08583cf2d0
commit
c9b7ed51aa
1 changed files with 1 additions and 1 deletions
|
|
@ -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"`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue