I answered
A couple of hours
When travelling, sometimes you have connecting gaps that need filling in. Sometimes you need wifi. Coffee shops are great for that. I don't think I've ever hung there for more than a couple/few hours, as we often switch coffee shops to get a different view or a walk in