mirror of
https://github.com/mudler/LocalAI.git
synced 2026-10-09 22:54:42 -04:00
chore: fix some function names in comment (#12517)
Signed-off-by: fmterrors <fmterrors@outlook.com>
This commit is contained in:
1 parent
e34847123e
commit
1cd96e496b
2 files changed
+2
-2
No files matched your search
@@ -10,7 +10,7 @@ import (
|
||||
"github.com/labstack/echo/v4"
|
||||
)
|
||||
|
||||
// SSEBridge provides an HTTP handler that bridges NATS progress events to SSE.
|
||||
// SSEHandler provides an HTTP handler that bridges NATS progress events to SSE.
|
||||
// This follows the notetaker pattern: subscribe to NATS, forward to SSE client.
|
||||
func (d *Dispatcher) SSEHandler() echo.HandlerFunc {
|
||||
return func(c echo.Context) error {
|
||||
|
||||
@@ -292,7 +292,7 @@ func SubjectCacheInvalidateCollection(name string) string {
|
||||
return "cache.invalidate.collections." + sanitizeSubjectToken(name)
|
||||
}
|
||||
|
||||
// SyncedMap State Sync (Pub/Sub — broadcast to all frontends)
|
||||
// SubjectSyncStateDelta returns the SyncedMap state sync subject (Pub/Sub — broadcast to all frontends).
|
||||
//
|
||||
// The reusable syncstate.SyncedMap component publishes a {op,key,value} delta on
|
||||
// this subject whenever a replica mutates a piece of cross-replica in-memory
|
||||
|
||||
Reference in new issue
Block a user