Skip to content

Commit f187d83

Browse files
Add AgentDispatchPrefix to guid (#757)
1 parent 73ece66 commit f187d83

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.changeset/healthy-papayas-join.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"github.com/livekit/protocol": patch
3+
---
4+
5+
Add AgentDispatchPrefix to guid

utils/guid/id.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ const (
5151
URLResourcePrefix = "UR_"
5252
AgentWorkerPrefix = "AW_"
5353
AgentJobPrefix = "AJ_"
54+
AgentDispatchPrefix = "AD_"
5455
)
5556

5657
var guidGeneratorPool = sync.Pool{

utils/id.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ const (
4040
URLResourcePrefix = guid.URLResourcePrefix
4141
AgentWorkerPrefix = guid.AgentWorkerPrefix
4242
AgentJobPrefix = guid.AgentJobPrefix
43+
AgentDispatchPrefix = guid.AgentDispatchPrefix
4344
)
4445

4546
func NewGuid(prefix string) string {

0 commit comments

Comments
 (0)