Opened 13 years ago

Closed 13 years ago

#360 closed defect (fixed)

IconFetcher causes apps to hang

Reported by: Peter Powers Owned by: Kevin Milner
Priority: major Milestone: OpenSHA 1.3
Component: sha Version:
Keywords: Cc:


If Apache on theOpenSHA server is acting up (i.e. accepting requests but not processing or rejecting them outright) IconFetcher? will not return and cause the application in use to hang.

I think a (very short) timeout should be added to IconFetcher? and if a web request for an icon returns null, then the undecorated form of the icon is retrieved from 'resources/images/logos' (not yet added to repo) and used instead.

Change History (3)

comment:1 Changed 13 years ago by Kevin Milner

Ah good point, I'll work on this (unless you've already started peter).

comment:2 Changed 13 years ago by Peter Powers

Nope; only just noticed it the other day.

comment:3 Changed 13 years ago by Kevin Milner

Resolution: fixed
Status: newclosed

forgot to close this when I completed work (2 weeks ago), anyway, done. Initial timeout is 2 seconds.

Note: See TracTickets for help on using tickets.