v0.19.0 use updated config and toml packages, dep update, minor fixes
Test / test (push) Canceled after 0s
Test / test (push) Canceled after 0s
This commit is contained in:
1 parent
b8982e4e44
commit
cb0da23070
22 files changed
+692
-232
No files matched your search
@@ -29,10 +29,8 @@ func (p *Proxy) CreateSession(remoteAddr string, metadata map[string]any) *Sessi
|
||||
metadata["instance_id"] = p.instanceID
|
||||
|
||||
// Create session with instance-scoped source
|
||||
session := p.manager.CreateSession(remoteAddr, p.instanceID, metadata)
|
||||
session.InstanceID = p.instanceID
|
||||
|
||||
return session
|
||||
// Set identity before publishing the session to concurrent snapshot readers.
|
||||
return p.manager.createSession(remoteAddr, p.instanceID, p.instanceID, metadata)
|
||||
}
|
||||
|
||||
// GetSession retrieves a session if it belongs to this instance
|
||||
@@ -79,4 +77,4 @@ func (p *Proxy) UpdateActivity(sessionID string) bool {
|
||||
// GetInstanceID returns the instance ID this proxy is bound to
|
||||
func (p *Proxy) GetInstanceID() string {
|
||||
return p.instanceID
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user