Previously every streaming token fired a separate D-Bus signal, flooding the session bus and back-pressuring the HTTP stream reader. New chatEmitter buffers text and flushes at most every 50ms. Log writes remain immediate so GetChat always returns current data. flushSync() drains the buffer before StateChanged signals. |
||
|---|---|---|
| .gitignore | ||
| Makefile | ||
| complete_test.go | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| org.ollie.SessionManager.desktop | ||