Skip to content

Commit

Permalink
using context.Background for fetching events from node which will fal…
Browse files Browse the repository at this point in the history
…lback to default context timout of sdk client
  • Loading branch information
0xluk committed Nov 18, 2024
1 parent f209d55 commit 3c0cc99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (p *Processor) processOneByOne() error {

eventsClient := events.NewClient(p.qubicConnector)
start := time.Now()
tickEvents, err := eventsClient.GetTickEventsOneByOne(ctx, p.passcode, nextTick.TickNumber)
tickEvents, err := eventsClient.GetTickEventsOneByOne(context.Background(), p.passcode, nextTick.TickNumber)
if err != nil {
return errors.Wrap(err, "getting tick events")
}
Expand Down

0 comments on commit 3c0cc99

Please sign in to comment.