branches with status:
Name Status Last Modified Last Commit
lp:fotoknox (Linked to a blueprint) 1 Development 2009-04-03 05:45:13 UTC
9. Dispatcher updates OK, the dispatche...

Author: <email address hidden>
Revision Date: 2009-04-03 05:45:13 UTC

Dispatcher updates

OK, the dispatcher actually does something now. The modification time
of the dropbox is checked by the dispatcher, and compared against
another time stored in (/var/fotoknox/run/mtime). If the dropbox has
been modified since the last recorded time, we process it. Processing
the dropbox will later include importing the new photos. Right now, the
dispatcher simple updates the mtime of the directory, and the time
stored in the mtime file mentioned above.

Ideally this file should be broken up into methods, and perhaps even
some of the functionality should be moved to a library.

The config file has also received a new entry runtime_dir which points
to the location of a directory holding runtime files (mtime, pid,
etc...).

11 of 1 result