diff --git a/internal/client.go b/internal/client.go index 35a88a4e..ce0abdea 100644 --- a/internal/client.go +++ b/internal/client.go @@ -119,7 +119,7 @@ type ClientOptions struct { func (opt *ClientOptions) ChangeInstanceNameToPID() { if opt.InstanceName == "DEFAULT" { - opt.InstanceName = strconv.Itoa(os.Getpid()) + opt.InstanceName = fmt.Sprintf("%d#%d", os.Getpid(), time.Now().Nanosecond()) } }