Skip to content

Retrycaller - #21

Open
alexplevako wants to merge 4 commits into
masterfrom
retrycaller
Open

Retrycaller#21
alexplevako wants to merge 4 commits into
masterfrom
retrycaller

Conversation

@alexplevako

Copy link
Copy Markdown

No description provided.

@alexplevako
alexplevako requested a review from kostassh February 11, 2022 15:58
Comment thread .gitignore
# GoLand
.idea

tools No newline at end of file

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?

Comment thread retry/retry.go
)

type Options struct {
Timeout time.Duration

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets call it retry interval, timeout is more like overall timeout ( for all tries all-together )

also it could accept an option of logging lambda for errors in between tries ( at least have warnings )
and probably overall timeout, or ctx

}

func (r retryCaller) Close() error {
return nil

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return r.transport.Close() ?

Comment thread types/operations.go
UpdateNFTMetadata: reflect.TypeOf(UpdateNFTMetadataOperation{}),
CreateGameRound: reflect.TypeOf(CreateGameRoundOperation{}),
GameRoundResult: reflect.TypeOf(GameRoundResultOperation{}),
UpdateGameRoundResult: reflect.TypeOf(UpdateGameRoundResultOperation{}),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like i already saw these changes in previous pr...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants