[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Maposmatic-dev] [PATCH maposmatic] Improve the file cleanup mechani

From: Maxime Petazzoni
Subject: Re: [Maposmatic-dev] [PATCH maposmatic] Improve the file cleanup mechanism
Date: Wed, 13 Jan 2010 15:30:14 +0100
User-agent: Mutt/1.5.20 (2009-06-14)


* David MENTRE <address@hidden> [2010-01-13 15:25:48]:

> Hello Maxime,
> 2010/1/13 Maxime Petazzoni <address@hidden>:
> > CAUTION: this change alters the database layout! The new column is:
> >    "has_files" bool NOT NULL
> Why not use another value is current column used for the state
> (waiting, rendered, done)?

That's a good idea. We could extend this to (waiting, rendered, done,
done_no_files). I'll rework the patch to do that instead.

> >  * thumbnails of jobs in the database are always kept, so we can
> >    display what the map looked like even if we don't have the files
> >    around anymore;
> Risk of filling the database with such images? Is it of any use?

I don't think so. Thumbnails are small (~40k/each). More thumbnails will
just mean a few less job files kept (when you think some jobs generate
40MB of renderings, that's a thousand more thumbnails you can keep).

And I think having the thumbnails to display on old jobs without files
is better.

- Maxime

Maxime Petazzoni <>
 ``One by one, the penguins took away my sanity.''
Linux kernel and software developer at MontaVista Software

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]