Hello Maxime,

2010/5/14 Maxime Petazzoni <[email protected]>:
> Each completed job now features a "Recreate map" button that reschedules
> a similar map on the queue. The button only appears for completed maps
> (status >= 2), and triggers a rendering_already_exists() check before
> creating a new MapRenderingJob.

In fact, if I have read correctly your
rendering_already_exists_by_bbox() code, the button only appears for
status==2 maps.

Instead of 2, maybe a symbolic constant would be better.

Regards,
d.

Reply via email to