Disconnected GlobeServices generates 0 length lock files on the server when clients ask for a level greater than the maximum level available on the server.
Also additionally there are cases (although we haven’t exactly found a reproducible scenario) where it seems to attempt to get a tile in a loop (100 times sleeping 200 milisec) in such cases..
Attached is a change that would handle the case where it will pre-emptively abort generating a tile if the level being requested is greater than the maxlevel.
With this fix 0 length tiles (and levels beyond maxlevel) are not being created on the server (client still behaves returning empty) and hopefully eliminates the 20 sec delay we were seeing before (we’ll need to do more test on that…)
Could you review?