incubator-seata-go
incubator-seata-go copied to clipboard
enhancement: make time parameters easier to read
What happened:
I'm reading the seata-go code, but some parameters are hard for me to understand.
The Timeout
below is of type int32, but I can't figure out its unit, can we use type time.Duration
instead? Or rename to TimeoutMillisecond
?
https://github.com/seata/seata-go/blob/master/pkg/tm/transaction_executor.go#L68 https://github.com/seata/seata-go/blob/master/pkg/tm/global_transaction.go#L70
good issuse
Can you help me with a PR revision, thank you very much
I fix it in this pr https://github.com/seata/seata-go/pull/204/files
assign me
I'm not sure if you're talking to me, I don't have permission to assign anyone, you can use the close keyword in the PR to associate this issue, so that everyone knows that the PR already exists.
close this issuse