aboutsummaryrefslogtreecommitdiffstats
path: root/UPGRADING
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-10-03 17:03:53 -0700
committerEric Wong <normalperson@yhbt.net>2008-10-03 17:17:35 -0700
commit8d9a77bfcb2e37728f1a683a74d266d145aff14c (patch)
treebfb97602de8af33b7ef2a290ed59b250a08a7e7d /UPGRADING
parent41a44f79ee1e559257fb6b2c88e1eb140fe657bf (diff)
downloadmpd-8d9a77bfcb2e37728f1a683a74d266d145aff14c.tar.gz
mpd-8d9a77bfcb2e37728f1a683a74d266d145aff14c.tar.xz
mpd-8d9a77bfcb2e37728f1a683a74d266d145aff14c.zip
directory: simplify list update handling logic
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.
Diffstat (limited to 'UPGRADING')
0 files changed, 0 insertions, 0 deletions