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))) }