From 2bc7de1438fc2f238079e67f61c8d5e6e259d3ba Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Sun, 7 Aug 2022 11:18:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E5=A4=84=E6=B3=A8?= =?UTF-8?q?=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- go.mod | 6 +++++- internal/nodes/http_request_utils.go | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 40cdfe5..7fa3193 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,11 @@ module github.com/TeaOSLab/EdgeNode go 1.18 -replace github.com/TeaOSLab/EdgeCommon => ../EdgeCommon +replace ( + github.com/TeaOSLab/EdgeCommon => ../EdgeCommon + github.com/fsnotify/fsnotify => /Users/WorkSpace/Projects/fsnotify + rogchap.com/v8go => /Users/Workspace/Projects/v8go +) require ( github.com/TeaOSLab/EdgeCommon v0.0.0-00010101000000-000000000000 diff --git a/internal/nodes/http_request_utils.go b/internal/nodes/http_request_utils.go index 3de57bf..78d74bb 100644 --- a/internal/nodes/http_request_utils.go +++ b/internal/nodes/http_request_utils.go @@ -186,7 +186,7 @@ func httpRequestNextId() string { httpRequestTimestamp = unixTime } - // timestamp + requestId + nodeId + // timestamp + nodeId + requestId return unixTimeString + teaconst.NodeIdString + strconv.Itoa(int(atomic.AddInt32(&httpRequestId, 1))) }