• Eric Wong's avatar
    directory: simplify list update handling logic · 37a8239f
    Eric Wong authored
    Now the "update" command can be issued multiple times regardless
    of whether the client is in list mode or not.
    
    We serialize the update tasks to prevent updates from trampling
    over each other and will spawn another update task
    once the current one is finished updating and reaped.
    
    Right now we cap the queue size to 32 which is probably enough (I
    bet most people usually run update with no argument anyways);
    but we can make it grow/shrink dynamically if needed.  There'll
    still be a hard-coded limit to prevent DoS attacks, though.
    37a8239f
Name
Last commit
Last update
bs Loading commit data...
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
TODO Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
build.mk Loading commit data...
configure.ac Loading commit data...