comparison artifact-database/doc/example-conf/conf.xml @ 30:88972c6daa4f

Added a cleanup thread which periodically removes outdated artifacts from database and calls there endOfLife() method. artifacts/trunk@70 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 10 Sep 2009 23:16:18 +0000
parents 1259d192e3c3
children 86d2a843e588
comparison
equal deleted inserted replaced
29:22b03d5c84c5 30:88972c6daa4f
16 </factories> 16 </factories>
17 <!-- configuration of the rest server --> 17 <!-- configuration of the rest server -->
18 <rest-server> 18 <rest-server>
19 <port>8181</port> 19 <port>8181</port>
20 </rest-server> 20 </rest-server>
21 <!-- garbage collection of outdated artifacts -->
22 <cleaner>
23 <sleep-time>60000</sleep-time>
24 </cleaner>
21 <database> 25 <database>
22 <user></user> 26 <user></user>
23 <password></password> 27 <password></password>
24 <!-- <url>jdbc:h2:artifacts.db</url> --> 28 <!-- <url>jdbc:h2:artifacts.db</url> -->
25 <!-- <driver>org.h2.Driver</driver> --> 29 <!-- <driver>org.h2.Driver</driver> -->

http://dive4elements.wald.intevation.org