So I have a script that is supposed to update tile caches on the server, and it is putting out messages that it is completing successfully. However, this tool is completing in less then 10 seconds for two different service caches. Running the tool manually is around 10 minutes or more for one of these, as the tiles are updating based on an AOI with hundreds of polygons.
My server is old and slated for upgrade, and we routinely have to restart it as it's hanging onto old cache tiles. I don't think the python cache update is working, but again it is difficult to tell due to the server hanging onto old tiles.
My Spidey senses are tingling - the script really shouldn't take less then 10 seconds, should it?
Edit: I just converted this to Python 3, it worked perfectly in 2.7 and took about 12 minutes.