Skip to content

Commit 91aebda

Browse files
Added dummy processing for testing
1 parent 163fe5f commit 91aebda

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

internal/transprocessor/perm-processor.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package transprocessor
33
import (
44
"context"
55
"fmt"
6+
"time"
67

78
"go.uber.org/zap"
89

@@ -44,6 +45,10 @@ func (p *PermProcessor) Process(ctx context.Context, curSession *session.Session
4445
localprocessor -> handles permissions on local system (where this backend is deployed)
4546
*/
4647
_ = transaction
48+
49+
/* for testing purposes only */
50+
time.Sleep(5 * time.Second)
51+
zap.L().Info("Completed Transaction")
4752
}
4853

4954
return nil

0 commit comments

Comments
 (0)