Real Time "Waiting For Availability"
Posted: Wed Sep 21, 2022 8:31 pm
We're using real time sync on a number of profiles. It normally works very well. However, as has been noted in a few old posts, minor / temporary network interruptions tend to send the real-time monitors into a coma. They will go to "waiting for availability" and never return.
I always set real-time syncs up with a scheduled sync every hour or two to insure nothing is missed, but that seems to not run either when the profile it gets itself into this state. I could be wrong on this point, but staff will tell me a file isn't getting to it's destination well after the scheduled syncs should have run, and when I check I'll find the waiting for availability status.
Is there any way you can add some code to periodically dispose of and recreate the file system watchers while the profile state is in "waiting for availability"? Having worked with that API in the past, I remember how it would break easily and it would not fire an event or throw an exception when it wasn't working, so I think I ended up recreating the watchers after a long lack of activity.
This is 9.48n 64-bit running on Windows 10.
I always set real-time syncs up with a scheduled sync every hour or two to insure nothing is missed, but that seems to not run either when the profile it gets itself into this state. I could be wrong on this point, but staff will tell me a file isn't getting to it's destination well after the scheduled syncs should have run, and when I check I'll find the waiting for availability status.
Is there any way you can add some code to periodically dispose of and recreate the file system watchers while the profile state is in "waiting for availability"? Having worked with that API in the past, I remember how it would break easily and it would not fire an event or throw an exception when it wasn't working, so I think I ended up recreating the watchers after a long lack of activity.
This is 9.48n 64-bit running on Windows 10.