(storage interface{})
| 72 | } |
| 73 | |
| 74 | func getHub(storage interface{}) (BlobHub, bool) { |
| 75 | hubmu.RLock() |
| 76 | defer hubmu.RUnlock() |
| 77 | h, ok := stohub[storage] |
| 78 | return h, ok |
| 79 | } |
| 80 | |
| 81 | // canLongPoll is set to false on App Engine. (multi-process environment...) |
| 82 | var canLongPoll = true |