This commit is contained in:
parent
d19a605933
commit
490e2ffb45
2
main.go
2
main.go
@ -22,7 +22,7 @@ func initNacos() {
|
|||||||
}
|
}
|
||||||
cc := constant.ClientConfig{
|
cc := constant.ClientConfig{
|
||||||
AppName: "api1",
|
AppName: "api1",
|
||||||
NamespaceId: "e56f939e-6d22-449c-97d2-39a8ae5afd58", //namespace id
|
NamespaceId: "", //namespace id
|
||||||
TimeoutMs: 5000,
|
TimeoutMs: 5000,
|
||||||
NotLoadCacheAtStart: true,
|
NotLoadCacheAtStart: true,
|
||||||
RotateTime: "1h",
|
RotateTime: "1h",
|
||||||
|
Loading…
Reference in New Issue
Block a user