Modify

Opened 9 years ago

Closed 8 years ago

#11855 closed defect (fixed)

Mapillary plugin calls oauth.MapillaryUser.getUsername in EDT thread when creating MapilaryPreferenceSetting

Reported by: wiktorn Owned by: nokutu
Priority: normal Milestone:
Component: Plugin mapillary Version: latest
Keywords: EDT i/o Cc:

Description

I'm profiling the preferences dialog to give it some performance boost. I move all I/O operations outside the EDT thread. The one I've seen that's still taking long time (like 1 second) is
org.openstreetmap.josm.plugins.mapillary.oauth.MapillaryUser.getUsername()

Please, move I/O operation outside EDT

Attachments (0)

Change History (1)

comment:1 by floscher, 8 years ago

Resolution: fixed
Status: newclosed

Thank you for your the hint, in revision 31808 I've now moved the calls to MapillaryUser.getUsername() into a separate thread.

This will go live in the next days with release 1.1.2 of the plugin. If you want to try it out before it's released, you can ​download the plugin from GitHub and place it in the ~/.josm/plugins-folder manually.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain nokutu.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.