Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
4537b1e9
Commit
4537b1e9
authored
Apr 06, 2004
by
Warren Dukes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updates to non-blocking update plan
git-svn-id:
https://svn.musicpd.org/mpd/trunk@611
09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent
c5d760e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
TODO
TODO
+5
-3
No files found.
TODO
View file @
4537b1e9
1) non-blocking (for other clients) update
a) have two commands, one that blocks and returns updated info and another command that doesn't block
b) allow incremental updating, either a directory recursively or a specific song
c)
haven another command for updating that blocks, but doesn't write the db fil
e
d)
add a command for flushing the db, and flush the db and SIGTERM/SIGINT
e)
spawn a update process in the beginning (this will be faster for simple updates, involving only a few songs or directories).
c)
fork on updat
e
d)
have a special case where if a update is in a command list, it only forks at the beginning of the list, and writes at the end of the command list
e)
add an element to status stating the "update state"
f) only pass back changed info to parent
g) only pass mtimes and paths to child
2) rewrite interface stuff, specifically command list handling etc so its less of a hack and deals with the above update stuff better
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment