# Message watcher
We need this functionality, because we can have case when message was not delivered but still have statusId -1 or 0. It means, that all other messages from this person in this session will be waiting while this message change status.
Create 1 cronJob on 10s(systemConfig) for checking messages collection
```
systemConfig.messageUndelivered: {
interval: 10000,
deliveredTimeout: [
{ platformId: 4, value: 60000 } // Rake default
{ platformId: 1, value: 10000 }, //
{ platformId: 2, value: 12500 }, // RakeLiveChat
{ platformId: 3, value: 5000 },
]
}
```
## Flow
