Ticket #528 (new todo)

Opened 2 months ago

Last modified 5 weeks ago

add a low priority background thread which loads uncached maps & mods every nth secs (i'd say 30) and caches them to disk

Reported by: BrainDamage Owned by: -
Priority: critical Milestone: 0.1 basic functionality
Component: program logic Version:
Keywords: Cc:

Description


Attachments

Change History

Changed 2 months ago by insaneinside

Instead of a polling mechanism, wouldn't it be better (more efficient and more prompt) to use the OS' filesystem-change notification functionality? On */Linux there's dnotify. Not sure about the commercial OSs, but it's worth a look.

Changed 8 weeks ago by BrainDamage

lot of people have GB of maps in their folder, not to mention that the files can be parked in the folder while the lobby is off, so the point of the polling thread still remains, the notification change can still be useful to automatically trigger unitsync map/mod list refresh when new files gets externally added / updated

Changed 5 weeks ago by danuker

this is what slows my computer down.. SpringLobby? generating minimaps for my 6GB of maps

Add/Change #528 (add a low priority background thread which loads uncached maps & mods every nth secs (i'd say 30) and caches them to disk)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change. Next status will be 'new'
The owner will change to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.