add TODO comment on strange condition
This commit is contained in:
parent
31d7d78243
commit
44cd09f439
1 changed files with 1 additions and 0 deletions
|
|
@ -92,6 +92,7 @@ func (conn *Connector) StartTransaction(request *core.StartTransactionRequest) (
|
|||
defer conn.mu.Unlock()
|
||||
|
||||
// expired request
|
||||
// TODO: check if this is the correct way to handle expired requests. AuthorirzationStatusExpired is related to the idTag, not the request itself
|
||||
if request.Timestamp != nil && conn.clock.Since(request.Timestamp.Time) > Timeout {
|
||||
res := &core.StartTransactionConfirmation{
|
||||
IdTagInfo: &types.IdTagInfo{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue