From 24d04c3e79aebad47440c8ba79a259bf8ecfbd0a Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 29 Mar 2025 16:02:10 +0800 Subject: [PATCH] :arrow_up: Upgrade nexus to fix bug --- go.mod | 2 +- go.sum | 2 ++ pkg/internal/gap/server.go | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 2fd2b0f..2f8772a 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module git.solsynth.dev/hypernet/messaging go 1.23.2 require ( - git.solsynth.dev/hypernet/nexus v0.0.0-20250329053929-488793a2dc56 + git.solsynth.dev/hypernet/nexus v0.0.0-20250329075932-d5422ab5b04c git.solsynth.dev/hypernet/paperclip v0.0.0-20250310151112-1d866f317f47 git.solsynth.dev/hypernet/passport v0.0.0-20250315083747-32e91e26013c git.solsynth.dev/hypernet/pusher v0.0.0-20250216145944-5fb769823a88 diff --git a/go.sum b/go.sum index 1eb0e30..22701f0 100644 --- a/go.sum +++ b/go.sum @@ -2,6 +2,8 @@ filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA= filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4= git.solsynth.dev/hypernet/nexus v0.0.0-20250329053929-488793a2dc56 h1:SnT9NVcXQ1WDka9kKAA+lH/r2UJouND7FDugu4ZZwLc= git.solsynth.dev/hypernet/nexus v0.0.0-20250329053929-488793a2dc56/go.mod h1:5tk62VQ1DcbR0EAN2jAOqYxHiegUPEC805JlfQ/G19I= +git.solsynth.dev/hypernet/nexus v0.0.0-20250329075932-d5422ab5b04c h1:XgdTgJxSAQuCbiG15hN5pY6chzcz8sX3Onm2itS+Ufs= +git.solsynth.dev/hypernet/nexus v0.0.0-20250329075932-d5422ab5b04c/go.mod h1:5tk62VQ1DcbR0EAN2jAOqYxHiegUPEC805JlfQ/G19I= git.solsynth.dev/hypernet/paperclip v0.0.0-20250310151112-1d866f317f47 h1:fvu+bNKPTNtQocssnKbEZ66MqR0iBfAxY3HwlqnmYyE= git.solsynth.dev/hypernet/paperclip v0.0.0-20250310151112-1d866f317f47/go.mod h1:jvxq2qftz2v72x+24+cTFJdQKr9eHQTdk3KVR7cx36s= git.solsynth.dev/hypernet/passport v0.0.0-20250315083747-32e91e26013c h1:XB8EBX34WB2skmjaVFot5IlxKF2qFZ2SueG/Y9SiJ6Y= diff --git a/pkg/internal/gap/server.go b/pkg/internal/gap/server.go index b819fa9..ff97886 100644 --- a/pkg/internal/gap/server.go +++ b/pkg/internal/gap/server.go @@ -19,7 +19,7 @@ import ( var ( Nx *nex.Conn Px *pushcon.Conn - Ca *cachekit.CaConn + Ca *cachekit.Conn ) func InitializeToNexus() error { @@ -53,7 +53,7 @@ func InitializeToNexus() error { return fmt.Errorf("error during initialize pushcon: %v", err) } - Ca, err = cachekit.NewCaConn(Nx, 3*time.Second) + Ca, err = cachekit.NewConn(Nx, 3*time.Second) if err != nil { return fmt.Errorf("error during initialize cachekit: %v", err) }