SolarOS 4.6.8 manual · job
gateway-sync
Background synchronizer for the gateway messaging provider. Start and stop it explicitly, using the same lifecycle as email-sync:
job start gateway-sync
job stop gateway-sync
job status gateway-sync
gateway-sync takes no polling interval. Unlike the periodic email-sync job, it maintains a live connection and applies its own exponential reconnect backoff. It can therefore be started before Wi-Fi has an address; it remains running and connects when the network becomes available. In /.shell/startup, use exactly:
job start gateway-sync
It owns transport connection lifetime, exponential retry, opaque resume cursors, joined-channel replay, and delivery of the gateway provider's shared outbound requests. The messaging service owns retained publication and Inbox projection. Replayed transport messages are deduplicated by the shared stable producer identity before another notification is published.
The gateway hello uses the SolarOS identity hostname value as its device identity; Chat does not maintain a separate device-name setting.
Stopping or closing app.chat has no effect on this job. Its worker performs transport startup, polling, and retry work outside the cooperative session/job scheduler.
The shared store retains at most 64 messages. SD-backed systems use the full-message /.messages/messages.bin ring. Systems using internal flash restore Chat history from the compact records already stored in /.inbox/messages.bin; no second ring is created, so Chat history cannot consume the remaining flash volume.