Hi,
I have a problem abour whatchdog.I setted threshold=10
and polling interval= 100.I think player is restarted at 10 seconds by whatchdog after it is closed.But player is restarted too late for example at 95 seconds.
Hi,
I have a problem abour whatchdog.I setted threshold=10
and polling interval= 100.I think player is restarted at 10 seconds by whatchdog after it is closed.But player is restarted too late for example at 95 seconds.
I have a question again,sorry. Are only login time and logout time written in status.json?
status.json
only contains the last activity of the player by virtue of the last time it checked it’s internal schedule was up to date.
This happens every 10 seconds - the string written will be like:
{
"lastActivity": "date stamp"
}
If the schedule manager engine stops for some reason, this value wont be written any longer.
The watchdog itself if simple, it had a Watcher
thread which wakes up every pollingInterval
, opens the status.json and reads the date.
If the date in status.json
is <
the current date + the threshold, it will kill and restart the main player process.
Does that help?
Thanks,
Dan
Yes,thank you very much