Skip to content

Commit

Permalink
update go-cache to fix p2p mode concurrency map access
Browse files Browse the repository at this point in the history
  • Loading branch information
KusakabeShi committed Jan 25, 2022
1 parent 1141334 commit bfc731c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"program": "${workspaceFolder}",
"buildFlags": "-tags 'novpp'",
"env": {"CGO_CFLAGS":"-I/usr/include/memif"},
"args":["-config","example_config/super_mode/EgNet_edge001.yaml","-mode","edge"/*,"-example"*/],
"args":["-config","example_config/p2p_mode/EgNet_edge4.yaml","-mode","edge"/*,"-example"*/],
},
{
"name": "Launch GenCfg",
Expand Down
2 changes: 1 addition & 1 deletion example_config/super_mode/EgNet_super.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ GraphRecalculateSetting:
NextHopTable: {}
EdgeTemplate: EgNet_edge001.yaml
UsePSKForInterEdge: true
ResetEndPointInterval: 1
makResetEndPointInterval: 1
Peers:
- NodeID: 1
Name: EgNet001
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.17
require (
git.fd.io/govpp.git v0.4.0
git.fd.io/govpp.git/extras v0.0.0-20220117104425-000215c229d6
github.com/KusakabeSi/go-cache v0.1.0
github.com/KusakabeSi/go-cache v0.1.2
github.com/beevik/ntp v0.3.0
github.com/golang-jwt/jwt v3.2.2+incompatible
github.com/google/gopacket v1.1.19
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ git.fd.io/govpp.git v0.4.0 h1:u/hxo5rwTpwmR8ambm5Xtf1WXEeDyoYOrD2m8TKcD34=
git.fd.io/govpp.git v0.4.0/go.mod h1:OCVd4W8SH+666KRQoMj6PM+oipLDZAHhqMz9B1TGbgI=
git.fd.io/govpp.git/extras v0.0.0-20220117104425-000215c229d6 h1:wVu7ZAT7q+1qNv1jFrz2KdVZ9Ar7TdxQXkIy79bQ4sI=
git.fd.io/govpp.git/extras v0.0.0-20220117104425-000215c229d6/go.mod h1:GhryuN3x7qZ/wYLlEiPUVi6glJvh5S5V6E+XASV4774=
github.com/KusakabeSi/go-cache v0.1.0 h1:mBvbfa2UTNpabmtRMgrFtGtP1eoDIdIhwvNBHmNkEV8=
github.com/KusakabeSi/go-cache v0.1.0/go.mod h1:iBHb2ekH8Sd664wWzg/iRiVfY7YUxtcTJFcyZAmI32w=
github.com/KusakabeSi/go-cache v0.1.2 h1:AC9/8aDXFu+T6ZTnZ2wmOYQ37m6xQtiZvP6i1qiqxPc=
github.com/KusakabeSi/go-cache v0.1.2/go.mod h1:iBHb2ekH8Sd664wWzg/iRiVfY7YUxtcTJFcyZAmI32w=
github.com/KusakabeSi/go-ordered-map v0.3.0 h1:otxXn6Y45XJ9H8hrmmDyyNGpwPiqv498yTjz1Lqt/3s=
github.com/KusakabeSi/go-ordered-map v0.3.0/go.mod h1:LzZM9BuKwFnERm0vbakLnh3ycrEoWuwVOSN9/95aV3w=
github.com/beevik/ntp v0.3.0 h1:xzVrPrE4ziasFXgBVBZJDP0Wg/KpMwk2KHJ4Ba8GrDw=
Expand Down

0 comments on commit bfc731c

Please sign in to comment.