mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-23 22:29:59 -05:00
@@ -11,7 +11,7 @@ Log services like the `userlog`, `clientlog` and `sse` are responsible for compo
|
||||
|
||||
## Subscribing
|
||||
|
||||
Clients can subscribe to the `/sse` endpoint to be informed by the server when an event happens. The `sse` endpoint will respect language changes of the user without needing to reconnect. Note that SSE has a limitation of six open connections per browser which can be reached if one has opened various tabs of the Web UI pointing to the same Infinite Scale instance.
|
||||
Clients can subscribe to the `/sse` endpoint to be informed by the server when an event happens. The `sse` endpoint will respect language changes of the user without needing to reconnect. Note that SSE has a limitation of six open connections per browser which can be reached if one has opened various tabs of the Web UI pointing to the same OpenCloud instance.
|
||||
|
||||
## Keep SSE Connections Alive
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "sse",
|
||||
Usage: "Serve ownCloud sse for oCIS",
|
||||
Usage: "Serve sse for OpenCloud",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user